fixed code line issue

revert-dabc3590
hasuniea 9 years ago
parent d5ec50c4e6
commit 9c1b34b891

@ -115,9 +115,8 @@ public class WindowsDeviceManager implements DeviceManager {
public TenantConfiguration getConfiguration() throws DeviceManagementException { public TenantConfiguration getConfiguration() throws DeviceManagementException {
Resource resource; Resource resource;
try { try {
String windowsTenantRegistryPath = String windowsTenantRegistryPath = MobileDeviceManagementUtil.
MobileDeviceManagementUtil.getPlatformConfigPath(DeviceManagementConstants. getPlatformConfigPath(DeviceManagementConstants.MobileDeviceTypes.MOBILE_DEVICE_TYPE_WINDOWS);
MobileDeviceTypes.MOBILE_DEVICE_TYPE_WINDOWS);
resource = MobileDeviceManagementUtil.getRegistryResource(windowsTenantRegistryPath); resource = MobileDeviceManagementUtil.getRegistryResource(windowsTenantRegistryPath);
if (resource != null) { if (resource != null) {
JAXBContext context = JAXBContext.newInstance(TenantConfiguration.class); JAXBContext context = JAXBContext.newInstance(TenantConfiguration.class);

Loading…
Cancel
Save