private FsIndexCollection mergeFsIndexes() throws ResourceInitializationException { FsIndexCollection aggIndexColl = getCasManagerWrapper().getMetadata() .getFsIndexCollection(); if ( aggregateMetadata.getFsIndexes() != null ) { for ( FsIndexDescription fid : aggregateMetadata.getFsIndexes() ) { getCasManagerWrapper().getMetadata() .getFsIndexCollection().addFsIndex(fid); } List<FsIndexCollection> cl = new ArrayList<FsIndexCollection>(); cl.add(getCasManagerWrapper().getMetadata().getFsIndexCollection()); aggIndexColl = CasCreationUtils. mergeFsIndexes(cl, getCasManagerWrapper().getResourceManager()); } return aggIndexColl; } private TypePriorities mergeTypePriorities() throws ResourceInitializationException {