diff --git a/src/assembly/src-tar-gz.xml b/src/assembly/src-tar-gz.xml index fbc391cfc..e34c0794e 100644 --- a/src/assembly/src-tar-gz.xml +++ b/src/assembly/src-tar-gz.xml @@ -25,16 +25,12 @@ - build.xml - checkstyle.xml LICENSE.txt license-header.txt NOTICE.txt pom.xml README.txt RELEASE-NOTES.txt - findbugs-exclude-filter.xml - build.properties.sample lf @@ -73,4 +69,3 @@ - diff --git a/src/assembly/src-zip.xml b/src/assembly/src-zip.xml index f309ca6d6..60f54727a 100644 --- a/src/assembly/src-zip.xml +++ b/src/assembly/src-zip.xml @@ -25,16 +25,12 @@ - build.xml - checkstyle.xml LICENSE.txt license-header.txt NOTICE.txt pom.xml README.txt RELEASE-NOTES.txt - findbugs-exclude-filter.xml - build.properties.sample crlf diff --git a/src/conf/checkstyle.xml b/src/conf/checkstyle.xml index 207a32fca..2b959d03d 100644 --- a/src/conf/checkstyle.xml +++ b/src/conf/checkstyle.xml @@ -71,7 +71,8 @@ - + + diff --git a/src/main/java/org/apache/commons/pool3/impl/LinkedBlockingDeque.java b/src/main/java/org/apache/commons/pool3/impl/LinkedBlockingDeque.java index b4232df5c..3c5c3a3b5 100644 --- a/src/main/java/org/apache/commons/pool3/impl/LinkedBlockingDeque.java +++ b/src/main/java/org/apache/commons/pool3/impl/LinkedBlockingDeque.java @@ -953,13 +953,12 @@ public E pollLast() { * @return the unlinked element * @throws InterruptedException if the current thread is interrupted */ - public E pollLast(final Duration timeout) - throws InterruptedException { + public E pollLast(final Duration timeout) throws InterruptedException { long nanos = timeout.toNanos(); lock.lockInterruptibly(); try { E x; - while ( (x = unlinkLast()) == null) { + while ((x = unlinkLast()) == null) { if (nanos <= 0) { return null; } @@ -1292,7 +1291,7 @@ public E takeFirst() throws InterruptedException { lock.lock(); try { E x; - while ( (x = unlinkFirst()) == null) { + while ((x = unlinkFirst()) == null) { notEmpty.await(); } return x; @@ -1312,7 +1311,7 @@ public E takeLast() throws InterruptedException { lock.lock(); try { E x; - while ( (x = unlinkLast()) == null) { + while ((x = unlinkLast()) == null) { notEmpty.await(); } return x;