if (shouldCache(element)) {
if (element.shouldPersist()) {
	private void saveNamespaces(KeyedHashSet[] contributions) throws IOException {		FileOutputStream fosNamespace = new FileOutputStream(contributionsFile);		DataOutputStream outputNamespace = new DataOutputStream(new BufferedOutputStream(fosNamespace));		KeyedElement[] newElements = contributions[0].elements();		KeyedElement[] formerElements = contributions[1].elements();		// get count of contributions that will be cached		int cacheSize = 0;		for (int i = 0; i < newElements.length; i++) {			if (shouldCache((Contribution) newElements[i]))				cacheSize++;		}		for (int i = 0; i < formerElements.length; i++) {			if (shouldCache((Contribution) formerElements[i]))				cacheSize++;		}		outputNamespace.writeInt(cacheSize);		for (int i = 0; i < newElements.length; i++) {			Contribution element = (Contribution) newElements[i];			if (shouldCache(element)) {				writeStringOrNull(element.getContributorId(), outputNamespace);				saveArray(element.getRawChildren(), outputNamespace);			}		}		for (int i = 0; i < formerElements.length; i++) {			Contribution element = (Contribution) formerElements[i];			if (shouldCache(element)) {				writeStringOrNull(element.getContributorId(), outputNamespace);				saveArray(element.getRawChildren(), outputNamespace);			}		}		outputNamespace.flush();		fosNamespace.getFD().sync();		outputNamespace.close();	}