In java JRE I saw the code
private final ReentrantLock lock;
public E poll() {
        final ReentrantLock lock = this.lock;
        lock.lock();
Why is lock captured to a private variable? I would expect simply
public E poll() {
        lock.lock();
 
     
    