if (hasDocument(COLLECTION_CONFIG_FILE)) { DocumentImpl doc = getDocument(broker, COLLECTION_CONFIG_FILE);
if (hasDocument(CollectionConfiguration.COLLECTION_CONFIG_FILE)) { DocumentImpl doc = getDocument(broker, CollectionConfiguration.COLLECTION_CONFIG_FILE);
	private CollectionConfiguration readCollectionConfiguration(DBBroker broker) {		if (hasDocument(COLLECTION_CONFIG_FILE)) {					    DocumentImpl doc = getDocument(broker, COLLECTION_CONFIG_FILE);		    if(doc == null) {		        LOG.warn("collection.xconf exists but could not be loaded");		        return null;		    }			LOG.debug("found collection.xconf");			triggersEnabled = false;			try {				return new CollectionConfiguration(broker, this, doc);			} catch (CollectionConfigurationException e) {				LOG.warn("Failed to load collection configuration " + e.getMessage());			} finally {				triggersEnabled = true;			}		}		return null;	}