mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
resolved code issues
This commit is contained in:
parent
eed8293ea5
commit
70f971cc26
@ -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()));
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user