public void removeLock ( Session session , String path ) { String repoPath = session . getRepository ( ) . hashCode ( ) + "/" + session . getWorkspace ( ) . getName ( ) + "/" + path ; String token = nullResourceLocks . get ( repoPath ) ; session . removeLockToken ( token ) ; nullResourceLocks . remove ( repoPath ) ; }
Removes lock from the node .