Object[] allAddedKeys = addedFrameworksProjectDict.keySet().toArray(); for (int i = 0; i < allAddedKeys.length; i++) { currentProject = (IProject) allAddedKeys[i]; changedFrameworks = (ArrayList) addedFrameworksProjectDict.get(currentProject); if (changedFrameworks.size() > 0) { PBProjectUpdater projectUpdater = PBProjectUpdater.instance(currentProject); projectUpdater.addFrameworks(changedFrameworks); } }
	private final void updateProjects(		HashMap addedFrameworksProjectDict,		HashMap removedFrameworksProjectDict) {		IProject currentProject;		List changedFrameworks;		Object[] allAddedKeys = addedFrameworksProjectDict.keySet().toArray();		for (int i = 0; i < allAddedKeys.length; i++) {			currentProject = (IProject) allAddedKeys[i];			changedFrameworks =				(ArrayList) addedFrameworksProjectDict.get(currentProject);			if (changedFrameworks.size() > 0) {				PBProjectUpdater projectUpdater =					PBProjectUpdater.instance(currentProject);				projectUpdater.addFrameworks(changedFrameworks);			}		}		Object[] allRemovedKeys =			removedFrameworksProjectDict.keySet().toArray();		for (int i = 0; i < allRemovedKeys.length; i++) {			currentProject = (IProject) allRemovedKeys[i];			changedFrameworks =				(List) removedFrameworksProjectDict.get(currentProject);			if (changedFrameworks.size() > 0) {				PBProjectUpdater projectUpdater =					PBProjectUpdater.instance(currentProject);				projectUpdater.removeFrameworks(changedFrameworks);			}		}	}