String lockToken = (String) myLockTokens.get(path);
if (lockToken != null) {
String fullPath = myOwner.doGetFullPath(path);
fullPath = SVNEncodingUtil.uriEncode(fullPath);
DAVConnection connection = getConnection();
SVNLock lock = connection.doGetLock(fullPath, myOwner);
if (!(lock != null && lock.getID() != null && lockToken.equals(lock.getID()))) {
myEditor.changeFileProperty(path, SVNProperty.LOCK_TOKEN, null);
}
}