mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Remove duplicate validation checks
This commit is contained in:
parent
49d26706b0
commit
318d4e3f9c
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user