From 6bfca3c3aa2fac91a35c98ff6b203b4dee0aa5fc Mon Sep 17 00:00:00 2001 From: Gathika94 Date: Wed, 11 Oct 2017 16:39:37 +0530 Subject: [PATCH] fixed some version issues in pom files --- .../pom.xml | 22 ++++++++++++++++++- .../IsDeviceInGroupFunctionExecutor.java | 5 +++-- .../pom.xml | 2 +- pom.xml | 2 +- 4 files changed, 26 insertions(+), 5 deletions(-) diff --git a/components/extensions/siddhi-extensions/org.wso2.extension.siddhi.devicegroup/pom.xml b/components/extensions/siddhi-extensions/org.wso2.extension.siddhi.devicegroup/pom.xml index 4e664f830..31044dcdd 100644 --- a/components/extensions/siddhi-extensions/org.wso2.extension.siddhi.devicegroup/pom.xml +++ b/components/extensions/siddhi-extensions/org.wso2.extension.siddhi.devicegroup/pom.xml @@ -20,7 +20,7 @@ org.wso2.carbon.devicemgt-plugins siddhi-extensions - 4.0.86-SNAPSHOT + 4.0.88-SNAPSHOT ../pom.xml @@ -86,6 +86,26 @@ javax.cache.wso2 test + + commons-logging + commons-logging-api + RELEASE + + + org.wso2.carbon.devicemgt-plugins + org.wso2.carbon.appmgt.mdm.restconnector + 4.0.88-SNAPSHOT + + + asm + asm + RELEASE + + + asm + asm + RELEASE + diff --git a/components/extensions/siddhi-extensions/org.wso2.extension.siddhi.devicegroup/src/main/java/org/wso2/extension/siddhi/devicegroup/IsDeviceInGroupFunctionExecutor.java b/components/extensions/siddhi-extensions/org.wso2.extension.siddhi.devicegroup/src/main/java/org/wso2/extension/siddhi/devicegroup/IsDeviceInGroupFunctionExecutor.java index 93a7ad1c0..efb6dc6ce 100644 --- a/components/extensions/siddhi-extensions/org.wso2.extension.siddhi.devicegroup/src/main/java/org/wso2/extension/siddhi/devicegroup/IsDeviceInGroupFunctionExecutor.java +++ b/components/extensions/siddhi-extensions/org.wso2.extension.siddhi.devicegroup/src/main/java/org/wso2/extension/siddhi/devicegroup/IsDeviceInGroupFunctionExecutor.java @@ -31,6 +31,7 @@ import org.wso2.siddhi.core.executor.function.FunctionExecutor; import org.wso2.siddhi.query.api.definition.Attribute; import org.wso2.siddhi.query.api.exception.ExecutionPlanValidationException; + /** * isDeviceInGroup(deviceId , groupId) * Returns true if device belongs to group, otherwise false. @@ -50,10 +51,10 @@ public class IsDeviceInGroupFunctionExecutor extends FunctionExecutor { "Invalid no of arguments passed to group:isDeviceInGroup() function, required 3, but found " + attributeExpressionExecutors.length); } - if (attributeExpressionExecutors[0].getReturnType() != Attribute.Type.INT) { + if (attributeExpressionExecutors[0].getReturnType()!= Attribute.Type.INT) { throw new ExecutionPlanValidationException( "Invalid parameter type found for the first argument (group id) of group:isDeviceInGroup() " + - "function, required " + Attribute.Type.INT + ", but found " + + "function, required " + org.wso2.siddhi.query.api.definition.Attribute.Type.INT + ", but found " + attributeExpressionExecutors[0].getReturnType().toString()); } if (attributeExpressionExecutors[1].getReturnType() != Attribute.Type.STRING) { diff --git a/features/extensions-feature/org.wso2.extension.siddhi.devicegroup.feature/pom.xml b/features/extensions-feature/org.wso2.extension.siddhi.devicegroup.feature/pom.xml index 7263fcfd1..340dd59c7 100644 --- a/features/extensions-feature/org.wso2.extension.siddhi.devicegroup.feature/pom.xml +++ b/features/extensions-feature/org.wso2.extension.siddhi.devicegroup.feature/pom.xml @@ -20,7 +20,7 @@ org.wso2.carbon.devicemgt-plugins extensions-feature - 4.0.86-SNAPSHOT + 4.0.88-SNAPSHOT ../pom.xml diff --git a/pom.xml b/pom.xml index a75dde178..1db0d2d72 100644 --- a/pom.xml +++ b/pom.xml @@ -1179,7 +1179,7 @@ 1.1.1 - 3.0.135 + 3.0.136-SNAPSHOT [3.0.0, 4.0.0)