Refactored policy compliance

revert-dabc3590
mharindu 9 years ago
parent 6e469087b6
commit 3eec1a3846

@ -52,10 +52,10 @@ public class AndroidPolicyMonitoringService implements PolicyMonitoringService {
if (log.isDebugEnabled()) { if (log.isDebugEnabled()) {
log.debug("Checking policy compliance status of device '" + deviceIdentifier.getId() + "'"); log.debug("Checking policy compliance status of device '" + deviceIdentifier.getId() + "'");
} }
ComplianceData complianceData = new ComplianceData();
if (compliancePayload == null || policy == null) { if (compliancePayload == null || policy == null) {
return null; return complianceData;
} }
ComplianceData complianceData = new ComplianceData();
List<ComplianceFeature> complianceFeatures = new ArrayList<ComplianceFeature>(); List<ComplianceFeature> complianceFeatures = new ArrayList<ComplianceFeature>();
// Parsing json string to get compliance features. // Parsing json string to get compliance features.

Loading…
Cancel
Save