resolved code issues

This commit is contained in:
Hasunie 2017-09-29 12:37:16 +05:30
parent eed8293ea5
commit 70f971cc26

View File

@ -201,7 +201,6 @@ public class EnrollmentServiceImpl implements EnrollmentService {
TransformerFactory transformerFactory = TransformerFactory.newInstance();
Transformer transformer = transformerFactory.newTransformer();
transformer.transform(DOMSource, streamResult);
return stringWriter.toString();
}
@ -448,7 +447,6 @@ public class EnrollmentServiceImpl implements EnrollmentService {
}
Device device = generateDevice(windowsDevice);
WindowsAPIUtils.getDeviceManagementService().enrollDevice(device);
PolicyManagerService policyManagerService = WindowsAPIUtils.getPolicyManagerService();
policyManagerService.getEffectivePolicy(new DeviceIdentifier(windowsDevice.getDeviceId(), device.getType()));