public ResourceStatus(ISVNStatus status) { super();  Object aValue = null;  aValue = status.getUrl(); if (aValue == null) { this.url = null; } else { this.url = ((SVNUrl) aValue).toString(); }  aValue = status.getLastChangedRevision(); if (aValue == null) { this.lastChangedRevision = SVNRevision.SVN_INVALID_REVNUM; } else { this.lastChangedRevision = ((SVNRevision.Number) aValue).getNumber(); }  aValue = status.getLastChangedDate(); if (aValue == null) { this.lastChangedDate = -1; } else { this.lastChangedDate = ((Date) aValue).getTime(); }  this.lastCommitAuthor = status.getLastCommitAuthor(); this.textStatus = status.getTextStatus().toInt(); this.propStatus = status.getPropStatus().toInt();  aValue = status.getRevision(); if (aValue == null) { this.revision = SVNRevision.SVN_INVALID_REVNUM; } else { this.revision = ((SVNRevision.Number) aValue).getNumber(); }  this.nodeKind = status.getNodeKind().toInt();  this.path = status.getFile().getAbsolutePath(); }
protected ResourceStatus() {}
	public ResourceStatus(ISVNStatus status) {		super();    	/** a temporary variable serving as immediate cache for various status values */    	Object aValue = null;    	aValue = status.getUrl();        if (aValue == null) {            this.url = null;        } else {            this.url = ((SVNUrl) aValue).toString();        }        aValue = status.getLastChangedRevision();        if (aValue == null) {            this.lastChangedRevision = SVNRevision.SVN_INVALID_REVNUM;        } else {            this.lastChangedRevision = ((SVNRevision.Number) aValue).getNumber();        }        aValue = status.getLastChangedDate();        if (aValue == null) {            this.lastChangedDate = -1;        } else {            this.lastChangedDate = ((Date) aValue).getTime();        }        this.lastCommitAuthor = status.getLastCommitAuthor();        this.textStatus = status.getTextStatus().toInt();        this.propStatus = status.getPropStatus().toInt();        aValue = status.getRevision();        if (aValue == null) {            this.revision = SVNRevision.SVN_INVALID_REVNUM;        } else {            this.revision = ((SVNRevision.Number) aValue).getNumber();        }        this.nodeKind = status.getNodeKind().toInt();                this.path = status.getFile().getAbsolutePath();	}