/** * Traverse over the list of VMDs which have been added and create copies of it. The copies are * created to increase runtime performance. */ private void buildCache() { Iterator iterator = _indexedValidators.values().iterator(); while (iterator.hasNext()) { ValidatorMetaData vmd = (ValidatorMetaData) iterator.next(); buildProjectNatureCache(vmd); buildDefaultEnabledCache(vmd); } // Now add the validators which are configured on all projects, // and all projects but X. addRemainder(); // this temporary list isn't needed any more. All of the excluded // projects have been added to the project natures which they don't exlcude. _validators.remove(EXCLUDED_PROJECT); Logger logger = ValidationPlugin.getPlugin().getMsgLogger(); if (logger.isLoggingLevel(Level.FINEST)) { LogEntry entry = ValidationPlugin.getLogEntry(); entry.setSourceID("ValidationRegistryReader.buildCache()"); //$NON-NLS-1$ entry.setText(debug()); logger.write(Level.FINEST, entry); } }