if(collection != null) collection.release();
    public void removeCollection( String collName ) throws XMLDBException {    	String path = (collName.startsWith("/db") ? collName :     		parent.getPath() + '/' + collName);        DBBroker broker = null;        try {            broker = brokerPool.get(user);            LOG.debug( "removing collection " + path );            broker.removeCollection( path );        } catch ( EXistException e ) {        	e.printStackTrace();            throw new XMLDBException( ErrorCodes.VENDOR_ERROR,                "failed to remove collection " + collName, e );        } catch ( PermissionDeniedException e ) {            throw new XMLDBException( ErrorCodes.PERMISSION_DENIED,                e.getMessage(), e );        } finally {            brokerPool.release( broker );        }    }