public void closeConnection(){
  try {
    if (m_connection != null) {
      m_connection.close();
    }
  }
 catch (  final SQLException exception) {
    NaviLogger.severe("Error: Closing the database connection failed with exception: %s",exception);
  }
  m_connection=null;
}

public void closeConnection ( ) { try { if ( m_connection != null ) { m_connection . close ( ) ; } } catch ( final SQLException exception ) { NaviLogger . severe ( "Error: Closing the database connection failed with exception: %s" , exception ) ; } m_connection = null ; }
closes the connection to the database .
