diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/report/mgt/ReportManagementServiceImpl.java b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/report/mgt/ReportManagementServiceImpl.java index c5e9aa3758..5d408447f5 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/report/mgt/ReportManagementServiceImpl.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.core/src/main/java/org/wso2/carbon/device/mgt/core/report/mgt/ReportManagementServiceImpl.java @@ -160,7 +160,6 @@ public class ReportManagementServiceImpl implements ReportManagementService { public PaginationResult getDevicesExpiredByOSVersion(PaginationRequest request) throws ReportManagementException, DeviceTypeNotFoundException { if (request == null || - StringUtils.isBlank(request.getDeviceType()) || StringUtils.isBlank(request.getDeviceType()) || !request.getProperties().containsKey(Constants.OS_BUILD_DATE) || (Long) request.getProperty(Constants.OS_BUILD_DATE) == 0) {