for (int i= 0; i < resources.length; i++) { computeNatures(result, visitedProjects, resources[i].getProject()); }
computeNatures(result, visitedProjects, project);
	public static String[] computeAffectedNatures(IResource[] resources) throws CoreException {		Set result= new HashSet();		Set visitedProjects= new HashSet();		for (int i= 0; i < resources.length; i++) {			computeNatures(result, visitedProjects, resources[i].getProject());		}		return (String[])result.toArray(new String[result.size()]);	}