minor changes

revert-dabc3590
Gathika94 7 years ago
parent 6bfca3c3aa
commit 83faa0461c

@ -54,7 +54,7 @@ public class IsDeviceInGroupFunctionExecutor extends FunctionExecutor {
if (attributeExpressionExecutors[0].getReturnType()!= Attribute.Type.INT) { if (attributeExpressionExecutors[0].getReturnType()!= Attribute.Type.INT) {
throw new ExecutionPlanValidationException( throw new ExecutionPlanValidationException(
"Invalid parameter type found for the first argument (group id) of group:isDeviceInGroup() " + "Invalid parameter type found for the first argument (group id) of group:isDeviceInGroup() " +
"function, required " + org.wso2.siddhi.query.api.definition.Attribute.Type.INT + ", but found " + "function, required " + Attribute.Type.INT + ", but found " +
attributeExpressionExecutors[0].getReturnType().toString()); attributeExpressionExecutors[0].getReturnType().toString());
} }
if (attributeExpressionExecutors[1].getReturnType() != Attribute.Type.STRING) { if (attributeExpressionExecutors[1].getReturnType() != Attribute.Type.STRING) {

Loading…
Cancel
Save