IResource changedResource = statuses[i].getResource();  if ((changedResource != null) && isSupervised(changedResource))
RemoteResourceStatus status = statuses[i]; IResource changedResource = status.getResource();  if (changedResource == null) continue;  if (isSupervised(changedResource) || (status.getTextStatus() != SVNStatusKind.NONE))
    private IResource[] findChanges(IResource resource, int depth, IProgressMonitor monitor) throws TeamException {        try {        	monitor.beginTask("", 100);        	remoteSyncStateStore.flushBytes(resource, depth);//            ISVNClientAdapter client = SVNProviderPlugin.getPlugin().createSVNClient();            boolean descend = (depth == IResource.DEPTH_INFINITE)? true : false;            boolean showOutOfDate = SVNProviderPlugin.getPlugin().getPluginPreferences().getBoolean(ISVNCoreConstants.PREF_SHOW_OUT_OF_DATE_FOLDERS);            StatusAndInfoCommand cmd = new StatusAndInfoCommand(SVNWorkspaceRoot.getSVNResourceFor( resource ), descend, showOutOfDate, true );            cmd.run(monitor);            monitor.worked(70);            RemoteResourceStatus[] statuses = cmd.getRemoteResourceStatuses();            List result = new ArrayList(statuses.length);            for (int i = 0; i < statuses.length; i++) {            	IResource changedResource = statuses[i].getResource();				                if ((changedResource != null) && isSupervised(changedResource))                {                	result.add(changedResource);                	remoteSyncStateStore.setBytes( changedResource, statuses[i].getBytes() );                	registerChangedResourceParent(changedResource);                }			}            monitor.worked(30);                        return (IResource[]) result.toArray(new IResource[result.size()]);        } catch (SVNException e) {            throw new TeamException("Error getting status for resource " + resource + " " + e.getMessage(), e);        } finally {        	monitor.done();		}    }