You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2018/04/11 15:51:05 UTC

commons-pool git commit: Fix Javadoc links to java.util.concurrent.locks.ReentrantLock.

Repository: commons-pool
Updated Branches:
  refs/heads/master 03683a464 -> 3871a9cbc


Fix Javadoc links to java.util.concurrent.locks.ReentrantLock.

Project: http://git-wip-us.apache.org/repos/asf/commons-pool/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-pool/commit/3871a9cb
Tree: http://git-wip-us.apache.org/repos/asf/commons-pool/tree/3871a9cb
Diff: http://git-wip-us.apache.org/repos/asf/commons-pool/diff/3871a9cb

Branch: refs/heads/master
Commit: 3871a9cbcbd60259ebfdf4db59da8ceb0a2ef9ab
Parents: 03683a4
Author: Gary Gregory <ga...@gmail.com>
Authored: Wed Apr 11 09:51:02 2018 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Wed Apr 11 09:51:02 2018 -0600

----------------------------------------------------------------------
 .../apache/commons/pool2/impl/LinkedBlockingDeque.java  | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-pool/blob/3871a9cb/src/main/java/org/apache/commons/pool2/impl/LinkedBlockingDeque.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/pool2/impl/LinkedBlockingDeque.java b/src/main/java/org/apache/commons/pool2/impl/LinkedBlockingDeque.java
index 9323771..68f4285 100644
--- a/src/main/java/org/apache/commons/pool2/impl/LinkedBlockingDeque.java
+++ b/src/main/java/org/apache/commons/pool2/impl/LinkedBlockingDeque.java
@@ -1379,8 +1379,7 @@ class LinkedBlockingDeque<E> extends AbstractQueue<E>
     // Monitoring methods
 
     /**
-     * Returns true if there are threads waiting to take instances from this deque.
-     * See disclaimer on accuracy in
+     * Returns true if there are threads waiting to take instances from this deque. See disclaimer on accuracy in
      * {@link java.util.concurrent.locks.ReentrantLock#hasWaiters(Condition)}.
      *
      * @return true if there is at least one thread waiting on this deque's notEmpty condition.
@@ -1395,8 +1394,8 @@ class LinkedBlockingDeque<E> extends AbstractQueue<E>
     }
 
     /**
-     * Returns the length of the queue of threads waiting to take instances from this deque.
-     * See disclaimer on accuracy in {@link ReentrantLock#getWaitQueueLength(Condition)}.
+     * Returns the length of the queue of threads waiting to take instances from this deque. See disclaimer on accuracy
+     * in {@link java.util.concurrent.locks.ReentrantLock#getWaitQueueLength(Condition)}.
      *
      * @return number of threads waiting on this deque's notEmpty condition.
      */
@@ -1410,9 +1409,8 @@ class LinkedBlockingDeque<E> extends AbstractQueue<E>
     }
 
     /**
-     * Interrupts the threads currently waiting to take an object from the pool.
-     * See disclaimer on accuracy in
-     * {@link ReentrantLock#getWaitingThreads(Condition)}.
+     * Interrupts the threads currently waiting to take an object from the pool. See disclaimer on accuracy in
+     * {@link java.util.concurrent.locks.ReentrantLock#getWaitingThreads(Condition)}.
      */
     public void interuptTakeWaiters() {
         lock.lock();