mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Format code
This commit is contained in:
parent
b04acfdf53
commit
9cbb453790
@ -3,7 +3,6 @@ package org.wso2.carbon.device.mgt.mobile.windows.impl;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.wso2.carbon.device.mgt.mobile.windows.impl.dao.MobileDeviceManagementDAOException;
|
||||
import org.wso2.carbon.device.mgt.mobile.windows.impl.dao.MobileDeviceManagementDAOFactory;
|
||||
import org.wso2.carbon.device.mgt.mobile.windows.impl.dao.WindowsDAOFactory;
|
||||
import org.wso2.carbon.device.mgt.mobile.windows.impl.dao.WindowsEnrollmentTokenDAO;
|
||||
import org.wso2.carbon.device.mgt.mobile.windows.impl.dao.impl.WindowsEnrollmentTokenDAOImpl;
|
||||
@ -24,7 +23,7 @@ public class WindowsTokenServiceImpl implements WindowsTokenService {
|
||||
WindowsDAOFactory.beginTransaction();
|
||||
windowsEnrollmentTokenDAO.addCacheToken(entry);
|
||||
WindowsDAOFactory.commitTransaction();
|
||||
} finally {
|
||||
} finally {
|
||||
WindowsDAOFactory.closeConnection();
|
||||
}
|
||||
}
|
||||
@ -52,7 +51,8 @@ public class WindowsTokenServiceImpl implements WindowsTokenService {
|
||||
return cacheEntry;
|
||||
}
|
||||
|
||||
@Override public MobileCacheEntry getCacheTokenFromDeviceId(String deviceId)
|
||||
@Override
|
||||
public MobileCacheEntry getCacheTokenFromDeviceId(String deviceId)
|
||||
throws MobileDeviceManagementDAOException {
|
||||
MobileCacheEntry cacheEntry = null;
|
||||
try {
|
||||
|
||||
@ -20,8 +20,6 @@ package org.wso2.carbon.device.mgt.mobile.windows.impl.dao;
|
||||
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.wso2.carbon.device.mgt.common.DeviceManagementConstants;
|
||||
import org.wso2.carbon.device.mgt.mobile.windows.exception.WindowsDeviceMgtPluginException;
|
||||
import org.wso2.carbon.device.mgt.mobile.windows.impl.dao.impl.WindowsDeviceDAOImpl;
|
||||
import org.wso2.carbon.device.mgt.mobile.windows.impl.dao.impl.WindowsFeatureDAOImpl;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user