if (members[index].getType() == IResource.FILE && isInScope(context.getScope(), parent, members[index]))
final int type= members[index].getType(); if (type == IResource.FILE && isInScope(context.getScope(), parent, members[index]))
	private Object[] getProjectSettingsChildren(final ISynchronizationContext context, final Object parent, final Object[] children) {		final Set set= new HashSet();		for (int index= 0; index < children.length; index++)			set.add(children[index]);		final IResource resource= JavaModelProvider.getResource(parent);		if (resource != null) {			final IResourceDiffTree tree= context.getDiffTree();			final IResource[] members= tree.members(resource);			for (int index= 0; index < members.length; index++) {				final IDiff diff= tree.getDiff(members[index]);				if (diff != null) {					if (members[index].getType() == IResource.FILE && isInScope(context.getScope(), parent, members[index]))						set.add(members[index]);				}			}		}		return set.toArray(new Object[set.size()]);	}