Removing extra lines

revert-70aa11f8
geethkokila 7 years ago
parent 5c2c7dfc2a
commit 7c4ca89beb

@ -52,7 +52,7 @@ public class PolicyMonitoring {
protected String value; protected String value;
@XmlAttribute(name = "enabled") @XmlAttribute(name = "enabled")
protected boolean enabled; protected boolean enabled;
/** /**
* Gets the value of the value property. * Gets the value of the value property.
* *

@ -279,7 +279,6 @@ public class PolicyManagerServiceImplTest extends BasePolicyManagementDAOTest {
complianceFeature.setCompliance(false); complianceFeature.setCompliance(false);
complianceFeatures.add(complianceFeature); complianceFeatures.add(complianceFeature);
Device device = DeviceManagementDataHolder.getInstance().getDeviceManagementProvider(). Device device = DeviceManagementDataHolder.getInstance().getDeviceManagementProvider().
getDevice(new DeviceIdentifier(DEVICE1, DEVICE_TYPE_A), false); getDevice(new DeviceIdentifier(DEVICE1, DEVICE_TYPE_A), false);
List<Device> deviceList = new ArrayList<>(); List<Device> deviceList = new ArrayList<>();
@ -287,8 +286,7 @@ public class PolicyManagerServiceImplTest extends BasePolicyManagementDAOTest {
MonitoringManager mm = new MonitoringManagerImpl(); MonitoringManager mm = new MonitoringManagerImpl();
mm.addMonitoringOperation(deviceList); mm.addMonitoringOperation(deviceList);
policyManagerService.checkCompliance(new DeviceIdentifier(DEVICE1, DEVICE_TYPE_A), complianceFeatures); policyManagerService.checkCompliance(new DeviceIdentifier(DEVICE1, DEVICE_TYPE_A), complianceFeatures);
boolean deviceCompliance = policyManagerService.isCompliant(new DeviceIdentifier(DEVICE1, DEVICE_TYPE_A)); boolean deviceCompliance = policyManagerService.isCompliant(new DeviceIdentifier(DEVICE1, DEVICE_TYPE_A));
Assert.assertFalse(deviceCompliance, "Policy was compliant even though the response was not compliant"); Assert.assertFalse(deviceCompliance, "Policy was compliant even though the response was not compliant");

Loading…
Cancel
Save