public static void closeConnection ( Connection conn , Logger logger ) { try { if ( conn != null ) conn . close ( ) ; } catch ( SQLException e ) { // Not important. Utils . logException ( logger , e ) ; } }
Closes a connection to a database .