revision = remoteResourceStatus.getLastChangedRevision().getNumber(); author = remoteResourceStatus.getLastCommitAuthor(); if ((author == null) || (author.length() == 0)) {
if (remoteResourceStatus != null) { SVNRevision.Number revnum = remoteResourceStatus.getLastChangedRevision(); if (revnum != null) revision = revnum.getNumber(); else revision = SVNRevision.INVALID_REVISION.getNumber(); author = remoteResourceStatus.getLastCommitAuthor(); if ((author == null) || (author.length() == 0)) { author = Policy.bind("SynchronizeView.noAuthor"); } date = remoteResourceStatus.getLastChangedDate(); comment = fetchComment(svnSyncInfo); } else { revision = SVNRevision.INVALID_REVISION.getNumber();
	    private void initData() {	    	revision = SVNRevision.SVN_INVALID_REVNUM;	    	SyncInfoTree syncInfoTree = getSyncInfoSet();	    	SyncInfo[] syncInfos = syncInfoTree.getSyncInfos();	    	if (syncInfos.length > 0) {	    		SyncInfo syncInfo = syncInfos[0];	    		if (syncInfo instanceof SVNStatusSyncInfo) {	    			SVNStatusSyncInfo svnSyncInfo = (SVNStatusSyncInfo)syncInfo;	    			RemoteResourceStatus remoteResourceStatus = svnSyncInfo.getRemoteResourceStatus();	    			revision = remoteResourceStatus.getLastChangedRevision().getNumber();	    			author = remoteResourceStatus.getLastCommitAuthor();	    			if ((author == null) || (author.length() == 0)) {	    				author = Policy.bind("SynchronizeView.noAuthor"); //$NON-NLS-1$	    			}	    			date = remoteResourceStatus.getLastChangedDate();	    			comment = fetchComment(svnSyncInfo);	    		}	    	}	    }