String dirURL = myCurrentDirectory.getURL();
SVNURL dirURL = myCurrentDirectory.getURL();
    public void closeFile(String commitPath, String textChecksum)            throws SVNException {        if (!(myCurrentFile.IsAdded || myCurrentFile.IsContentsChanged || myCurrentFile.IsPropertiesChanged)) {            return;        }        SVNStatusType reposContentStatus;        SVNStatusType reposPropStatus;        SVNLock lock = null;        if (myCurrentFile.IsAdded) {            reposContentStatus = SVNStatusType.STATUS_ADDED;            reposPropStatus = myCurrentFile.IsPropertiesChanged ? SVNStatusType.STATUS_MODIFIED                    : SVNStatusType.STATUS_NONE;            String dirURL = myCurrentDirectory.getURL();            if (dirURL != null) {                dirURL = SVNPathUtil.append(dirURL, myCurrentFile.Name);                lock = getRepositoryLock(dirURL);            }        } else {            reposContentStatus = myCurrentFile.IsContentsChanged ? SVNStatusType.STATUS_MODIFIED                    : SVNStatusType.STATUS_NONE;            reposPropStatus = myCurrentFile.IsPropertiesChanged ? SVNStatusType.STATUS_MODIFIED                    : SVNStatusType.STATUS_NONE;        }        myCurrentDirectory.tweakStatus(myCurrentFile.Path, SVNNodeKind.FILE,                myCurrentFile.Name, reposContentStatus, reposPropStatus, lock);    }