if (getURI().equals(DBBroker.SYSTEM_COLLECTION)
if (getURI().equals(XmldbURI.SYSTEM_COLLECTION_URI)
    private void storeXMLInternal(Txn transaction, DBBroker broker, IndexInfo info, boolean privileged, StoreBlock doParse) throws EXistException, SAXException {        DocumentImpl document = info.getIndexer().getDocument();        LOG.debug("storing document " + document.getDocId() + " ...");        try {            doParse.run();                        broker.storeXMLResource(transaction, document);            broker.closeDocument();            broker.flush();//			broker.checkTree(document);            LOG.debug("document stored.");            // if we are running in privileged mode (e.g. backup/restore), notify the SecurityManager about changes            if (getURI().equals(DBBroker.SYSTEM_COLLECTION)                 && document.getFileURI().equals(XMLSecurityManager.ACL_FILE_URI)                && privileged == false) {                // inform the security manager that system data has changed                LOG.debug("users.xml changed");                broker.getBrokerPool().reloadSecurityManager(broker);            }        } finally {            document.getUpdateLock().release(Lock.WRITE_LOCK);            releaseReader(broker, info.getReader());        }                collectionConfEnabled = true;        broker.deleteObservers();        info.finishTrigger(broker, transaction, document);        broker.getBrokerPool().getNotificationService().notifyUpdate(document,                (info.getEvent() == Trigger.UPDATE_DOCUMENT_EVENT ? UpdateListener.UPDATE : UpdateListener.ADD));                //Is it a collection configuration file ?        XmldbURI docName = document.getFileURI();        if (getURI().startsWith(CollectionConfigurationManager.CONFIG_COLLECTION_URI)        		&& docName.endsWith(CollectionConfiguration.COLLECTION_CONFIG_SUFFIX_URI)) {        	        	broker.sync(Sync.MAJOR_SYNC);            CollectionConfigurationManager manager = broker.getBrokerPool().getConfigurationManager();            if (manager != null)            	manager.invalidateAll(getURI());        }    }