private static synchronized void cleanup(Connection C){
  logger.trace("cleanup() -->entry");
  if (C != null) {
    logger.trace("cleanup() --> Connection.close()");
    try {
      C.close();
    }
 catch (    Throwable t) {
      surfaceThrowable("cleanup() called Connection.close()",t);
    }
  }
  logger.trace("cleanup() <--exit");
}

private static synchronized void cleanup ( Connection C ) { logger . trace ( "cleanup() -->entry" ) ; if ( C != null ) { logger . trace ( "cleanup() --> Connection.close()" ) ; try { C . close ( ) ; } catch ( Throwable t ) { surfaceThrowable ( "cleanup() called Connection.close()" , t ) ; } } logger . trace ( "cleanup() <--exit" ) ; }
overload for when caller just has connection object .
