updateCache(resource.getLocation(), statuses);
updateCache(statuses);
	void updateStatus(IResource resource) throws SVNException {        if (!(resource instanceof IProject)) {            // if the status of the resource parent is not known, we            // recursively update it instead             IContainer parent = resource.getParent();            if (parent != null) {                if (treeCacheRoot.getStatus(parent) == null) {                    updateStatus(parent);                    return;                }            }        }                if (Policy.DEBUG_STATUS) {            System.out.println("[svn] getting status for : " + resource.getFullPath()); //$NON-NLS-1$           }                // don't do getRepository().getSVNClient() as we can ask the status of a file        // that is not associated with a known repository        // we don't need login & password so this is not a problem        ISVNStatus[] statuses = null;        try {            ISVNClientAdapter svnClientAdapterStatus = SVNProviderPlugin.getPlugin().createSVNClient();            statuses = svnClientAdapterStatus.getStatus(resource.getLocation().toFile(),true, true);        } catch (SVNClientException e1) {            throw SVNException.wrapException(e1);        }        updateCache(resource.getLocation(), statuses);	}