if ((resource instanceof IFile)) {
if ((resource.getType() == IResource.FILE)) {
	protected ISVNStatus[] statusesToUpdate(IResource resource) throws SVNException {        // we update the parent and its immediate children         IResource resourceToUpdate = resource;        if ((resource instanceof IFile)) {            resourceToUpdate = resource.getParent();        }                if (Policy.DEBUG_STATUS) {            System.out.println("[svn] getting status for : " + resourceToUpdate.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(                    resourceToUpdate.getLocation().toFile(),                    false, // do only immediate children.                     true); // retrieve all entries        } catch (SVNClientException e1) {            throw SVNException.wrapException(e1);        }        return statuses;	}