if( ! isSupervised( resource ) )
if (resource == null) return null; if( ! isSupervised( resource ) )
    public SyncInfo getSyncInfo(IResource resource) throws TeamException {        if( ! isSupervised( resource ) )            return null;                //LocalResourceStatus localStatus = SVNWorkspaceRoot.getSVNResourceFor( resource );        LocalResourceStatus localStatus = SVNProviderPlugin.getPlugin().getStatusCacheManager().getStatus(resource);        RemoteResourceStatus remoteStatusInfo = null;        byte[] remoteBytes = remoteSyncStateStore.getBytes( resource );        if ((remoteBytes != null) && (remoteBytes != DUMMY_SYNC_BYTES)) {            remoteStatusInfo = RemoteResourceStatus.fromBytes(remoteBytes);        }        SyncInfo syncInfo = new SVNStatusSyncInfo(resource, localStatus, remoteStatusInfo, comparator);        syncInfo.init();        return syncInfo;    }