private void saveOrphans(RegistryObjectManager objectManager) throws IOException {
private void saveOrphans() throws IOException {
	private void saveOrphans(RegistryObjectManager objectManager) throws IOException {		Map orphans = objectManager.getOrphanExtensions();		FileOutputStream fosOrphan = new FileOutputStream(orphansFile);		DataOutputStream outputOrphan = new DataOutputStream(new BufferedOutputStream(fosOrphan));		outputOrphan.writeInt(orphans.size());		Set elements = orphans.entrySet();		for (Iterator iter = elements.iterator(); iter.hasNext();) {			Map.Entry entry = (Map.Entry) iter.next();			outputOrphan.writeUTF((String) entry.getKey());			saveArray((int[]) entry.getValue(), outputOrphan);		}		for (Iterator iter = elements.iterator(); iter.hasNext();) {			Map.Entry entry = (Map.Entry) iter.next();			mainOutput.writeInt(((int[]) entry.getValue()).length);			saveExtensions((IExtension[]) objectManager.getHandles((int[]) entry.getValue(), RegistryObjectManager.EXTENSION), mainOutput);		}		outputOrphan.flush();		fosOrphan.getFD().sync();		outputOrphan.close();	}