unaddedResources = unadded.size() > 0;
	private IResource[] getUnaddedResources(IResource[] resources, IProgressMonitor iProgressMonitor) throws SVNException {		final List unadded = new ArrayList();		final SVNException[] exception = new SVNException[] { null };		for (int i = 0; i < resources.length; i++) {			IResource resource = resources[i];            if (resource.exists()) {			    // visit each resource deeply			    try {				    resource.accept(new IResourceVisitor() {					public boolean visit(IResource resource) {						ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resource);						// skip ignored resources and their children						try {							if (svnResource.isIgnored())								return false;							// visit the children of shared resources							if (svnResource.isManaged())								return true;						} catch (SVNException e) {							exception[0] = e;						}						// file/folder is unshared so record it						unadded.add(resource);						return resource.getType() == IResource.FOLDER;					}				}, IResource.DEPTH_INFINITE, false /* include phantoms */);			    } catch (CoreException e) {				    throw SVNException.wrapException(e);			    }			    if (exception[0] != null) throw exception[0];            }		}		return (IResource[]) unadded.toArray(new IResource[unadded.size()]);	}