refactored WindowsDAOFactory

This commit is contained in:
hasuniea 2015-09-18 19:30:21 +05:30
parent d5e583becc
commit d8d8bb6f7e
2 changed files with 1 additions and 5 deletions

View File

@ -117,8 +117,6 @@ public class WindowsDAOFactory extends MobileDeviceManagementDAOFactory
}
} catch (SQLException e) {
log.error("Error occurred while committing the transaction", e);
} finally {
closeConnection();
}
}
@ -145,8 +143,6 @@ public class WindowsDAOFactory extends MobileDeviceManagementDAOFactory
}
} catch (SQLException e) {
log.warn("Error occurred while roll-backing the transaction", e);
} finally {
closeConnection();
}
}
}