treeCacheRoot.removeStatus(resource,depth); if (depth == IResource.DEPTH_INFINITE) { getStatus(resource, true); } else { getStatus(resource, false); }
StatusUpdateStrategy strategy = (depth == IResource.DEPTH_INFINITE) ? (StatusUpdateStrategy) new RecursiveStatusUpdateStrategy(statusCache) : (StatusUpdateStrategy) new NonRecursiveStatusUpdateStrategy(statusCache); try { Map resourcesToRefresh = resourcesToRefresh(resource, depth); IPath[] refreshedPaths = updateCache(strategy.statusesToUpdate(resource)); for (int i = 0; i < refreshedPaths.length; i++) { resourcesToRefresh.remove(refreshedPaths[i]); }  for (Iterator it = resourcesToRefresh.values().iterator(); it.hasNext();) { statusCache.addStatus((IResource) it.next(), null); } } catch (CoreException e) { throw SVNException.wrapException(e); }
    public void refreshStatus(IResource resource,int depth) throws SVNException {        treeCacheRoot.removeStatus(resource,depth);        if (depth == IResource.DEPTH_INFINITE)        {        	getStatus(resource, true);        }        else        {        	getStatus(resource, false);        	        }    }