public boolean remove(HttpConnection connection){
  TimeValues times=connectionToTimes.remove(connection);
  if (times == null) {
    log.warn("Removing a connection that never existed!");
    return true;
  }
 else {
    return System.currentTimeMillis() <= times.timeExpires;
  }
}

public boolean remove ( HttpConnection connection ) { TimeValues times = connectionToTimes . remove ( connection ) ; if ( times == null ) { log . warn ( "Removing a connection that never existed!" ) ; return true ; } else { return System . currentTimeMillis ( ) <= times . timeExpires ; } }
removes the given connection from the list of connections to be closed when idle . this will return true if the connection is still valid , and false if the connection should be considered expired and not used .
