if(!token.equals(lock.getID())){
if(token == null || !token.equals(lock.getID())){
    private static void unlock(String path, String token, String username, boolean breakLock, File reposRootDir) throws SVNException {        /* This could return FS_NO_SUCH_LOCK or FS_LOCK_EXPIRED. */        SVNLock lock = FSReader.getLock(path, true, reposRootDir);        /* Unless breaking the lock, we do some checks. */        if(!breakLock){            /* Sanity check:  the incoming token should match lock.getID(). */            if(!token.equals(lock.getID())){                SVNErrorManager.error(FSErrors.errorNoSuchLock(lock.getPath(), reposRootDir));            }            /* There better be a username provided. */            if(username == null || "".equals(username)){                SVNErrorManager.error(FSErrors.errorNoUser(reposRootDir));            }            /* And that username better be the same as the lock's owner. */            if(!username.equals(lock.getOwner())){                SVNErrorManager.error(FSErrors.errorLockOwnerMismatch(username, lock.getOwner(), reposRootDir));            }        }        /* Remove lock and lock token files. */        deleteLock(lock, reposRootDir);    }