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