public void refreshStatus(IResource resource,int depth) throws SVNException {
public IResource[] refreshStatus(IResource resource,int depth) throws SVNException {
    public void refreshStatus(IResource resource,int depth) throws SVNException {    	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]);			}			//Resources which were not refreshed above (e.g. deleted resources)			for (Iterator it = resourcesToRefresh.values().iterator(); it.hasNext();) {				statusCache.addStatus((IResource) it.next(), null);			}		}		catch (CoreException e)		{			throw SVNException.wrapException(e);		}    }