reposLock = new Lock(lockOwner, status.getLocalLock().getPath(), lockToken, lockComment, lockCreationDate, status.getLocalLock().getExpirationDate().getTime());
    public static Status createStatus(String path, SVNStatus status) {        if(status == null){            return null;        }        String url = status.getURL();        int nodeKind = getNodeKind(status.getKind());        if (status.getContentsStatus() == SVNStatusType.STATUS_IGNORED) {            nodeKind = NodeKind.unknown;        }        long revision = status.getRevision().getNumber();        long lastChangedRevision = 0;        if(status.getCommittedRevision() != null){            lastChangedRevision = status.getCommittedRevision().getNumber();        }        Date d = status.getCommittedDate();        long lastChangedDate = 0;        if(d != null){            lastChangedDate = d.getTime();        }        String lastCommitAuthor = status.getAuthor();        int textStatus = getStatusValue(status.getContentsStatus());        int propStatus = getStatusValue(status.getPropertiesStatus());        int repositoryTextStatus = getStatusValue(status.getRemoteContentsStatus());        int repositoryPropStatus = getStatusValue(status.getRemotePropertiesStatus());        boolean locked = status.isLocked();        boolean copied = status.isCopied();        boolean switched = status.isSwitched();                String conflictOld = "";        if(status.getConflictOldFile()!=null){            conflictOld = status.getConflictOldFile().getAbsolutePath();        }        String conflictNew = "";        if(status.getConflictNewFile()!=null){            conflictNew = status.getConflictNewFile().getAbsolutePath();        }        String conflictWorking = "";        if(status.getConflictWrkFile()!=null){            conflictWorking = status.getConflictWrkFile().getAbsolutePath();        }        String urlCopiedFrom = status.getCopyFromURL();        long revisionCopiedFrom = status.getCopyFromRevision().getNumber();        Lock reposLock = null;        String lockToken = "";        String lockOwner = "";        String lockComment = "";        long lockCreationDate = 0;        if(status.getLocalLock() != null){            lockToken = status.getLocalLock().getID();            lockOwner = status.getLocalLock().getOwner();            lockComment = status.getLocalLock().getComment();            lockCreationDate = status.getLocalLock().getCreationDate().getTime();            reposLock = new Lock(lockOwner, status.getLocalLock().getPath(), lockToken, lockComment, lockCreationDate, status.getLocalLock().getExpirationDate().getTime());        }                Status st = new Status(path, url, nodeKind, revision, lastChangedRevision, lastChangedDate, lastCommitAuthor, textStatus, propStatus,                repositoryTextStatus, repositoryPropStatus, locked, copied, conflictOld, conflictNew, conflictWorking, urlCopiedFrom, revisionCopiedFrom,                switched, lockToken, lockOwner, lockComment, lockCreationDate, reposLock);        DebugLog.log(path + ": created status: " + st.getTextStatus() + ":" + st.getPropStatus() + ":" + st.getNodeKind());        return st;    }