From 672d90472bfa7b20cbe86c2349f1f86fe557471e Mon Sep 17 00:00:00 2001 From: hasuniea Date: Tue, 12 Jul 2016 12:48:09 +0530 Subject: [PATCH] adding validation --- .../services/android/services/DeviceManagementService.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/services/DeviceManagementService.java b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/services/DeviceManagementService.java index 3c8bbe585b..f760130ed0 100644 --- a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/services/DeviceManagementService.java +++ b/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.api/src/main/java/org/wso2/carbon/mdm/services/android/services/DeviceManagementService.java @@ -293,9 +293,6 @@ public interface DeviceManagementService { @ApiParam( name = "id", value = "Device Identifier") - @NotNull - @Size(min = 2 , max = 45) - @Pattern(regexp = "^[A-Za-z0-9]*$") @PathParam("id") String id, @ApiParam( name = "device", @@ -325,9 +322,6 @@ public interface DeviceManagementService { @ApiParam( name = "id", value = "Device Identifier") - @NotNull - @Size(min = 2 , max = 45) - @Pattern(regexp = "^[A-Za-z0-9]*$") @PathParam("id") String id); }