else
} else
    public void pooledObjectReleased(PooledObjectEvent event) {        try {            PooledObject connection =                (PooledObject) event.getSource();                            PooledConnectionQueue queue =                 (PooledConnectionQueue)connectionToQueueMap.get(connection);                            if (queue == null) {                if (getLogger() != null)                    getLogger().warn("Connection " + connection +                         " does not have corresponding queue");                                    if (PARANOID_MODE)                    throw new IllegalStateException(                        "Connection " + connection +                         " does not have corresponding queue");                else                    connection.deallocate();            } else {                                if (event.isDeallocated())                    queue.physicalConnectionDeallocated(connection);                else                    queue.put(connection);            }                        } catch (SQLException ex) {                if (getLogger() != null)                getLogger().warn("Error releasing connection.", ex);        }    }    