This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch POOL_2_X in repository https://gitbox.apache.org/repos/asf/commons-pool.git
The following commit(s) were added to refs/heads/POOL_2_X by this push: new 1c009554 No need for blank Javadoc lines between Javadoc @ tags 1c009554 is described below commit 1c0095548ff8810f8ef6a9dabebfd57cf1a1b9b2 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Thu Nov 28 11:34:44 2024 -0500 No need for blank Javadoc lines between Javadoc @ tags --- src/main/java/org/apache/commons/pool2/KeyedObjectPool.java | 1 - src/main/java/org/apache/commons/pool2/PooledObjectFactory.java | 1 - .../java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java | 1 - .../java/org/apache/commons/pool2/impl/LinkedBlockingDeque.java | 7 ------- src/test/java/org/apache/commons/pool2/AbstractTestObjectPool.java | 1 - 5 files changed, 11 deletions(-) diff --git a/src/main/java/org/apache/commons/pool2/KeyedObjectPool.java b/src/main/java/org/apache/commons/pool2/KeyedObjectPool.java index a3b7c1e8..1a3fbbf7 100644 --- a/src/main/java/org/apache/commons/pool2/KeyedObjectPool.java +++ b/src/main/java/org/apache/commons/pool2/KeyedObjectPool.java @@ -160,7 +160,6 @@ public interface KeyedObjectPool<K, V> extends Closeable { * * @param key the key used to obtain the object * @return an instance from this pool. - * * @throws IllegalStateException * after {@link #close close} has been called on this pool * @throws Exception diff --git a/src/main/java/org/apache/commons/pool2/PooledObjectFactory.java b/src/main/java/org/apache/commons/pool2/PooledObjectFactory.java index deb93902..c8254ddc 100644 --- a/src/main/java/org/apache/commons/pool2/PooledObjectFactory.java +++ b/src/main/java/org/apache/commons/pool2/PooledObjectFactory.java @@ -66,7 +66,6 @@ package org.apache.commons.pool2; * * @param <T> Type of element managed in this factory. * @see ObjectPool - * * @since 2.0 */ public interface PooledObjectFactory<T> { diff --git a/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java b/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java index 10472de6..e1dbb827 100644 --- a/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java +++ b/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java @@ -710,7 +710,6 @@ public class GenericKeyedObjectPool<K, T> extends BaseGenericObjectPool<T> * * @param key Key associated with new pooled object. * @return The new, wrapped pooled object. May return null. - * * @throws Exception If the objection creation fails. */ private PooledObject<T> create(final K key) throws Exception { 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 599a6ec1..2cbff896 100644 --- a/src/main/java/org/apache/commons/pool2/impl/LinkedBlockingDeque.java +++ b/src/main/java/org/apache/commons/pool2/impl/LinkedBlockingDeque.java @@ -475,7 +475,6 @@ final class LinkedBlockingDeque<E> extends AbstractQueue<E> * * @param c The collection to add the elements to * @return number of elements added to the collection - * * @throws UnsupportedOperationException if the add operation is not * supported by the specified collection * @throws ClassCastException if the class of the elements held by this @@ -685,7 +684,6 @@ final class LinkedBlockingDeque<E> extends AbstractQueue<E> * @param e element to link * @param timeout length of time to wait * @return {@code true} if successful, otherwise {@code false} - * * @throws NullPointerException if e is null * @throws InterruptedException if the thread is interrupted whilst waiting * for space @@ -704,7 +702,6 @@ final class LinkedBlockingDeque<E> extends AbstractQueue<E> * @param timeout length of time to wait * @param unit units that timeout is expressed in * @return {@code true} if successful, otherwise {@code false} - * * @throws NullPointerException if e is null * @throws InterruptedException if the thread is interrupted whilst waiting * for space @@ -734,7 +731,6 @@ final class LinkedBlockingDeque<E> extends AbstractQueue<E> * @param e element to link * @param timeout length of time to wait * @return {@code true} if successful, otherwise {@code false} - * * @throws NullPointerException if e is null * @throws InterruptedException if the thread is interrupted whilst waiting * for space @@ -764,7 +760,6 @@ final class LinkedBlockingDeque<E> extends AbstractQueue<E> * @param timeout length of time to wait * @param unit units that timeout is expressed in * @return {@code true} if successful, otherwise {@code false} - * * @throws NullPointerException if e is null * @throws InterruptedException if the thread is interrupted whilst waiting * for space @@ -794,7 +789,6 @@ final class LinkedBlockingDeque<E> extends AbstractQueue<E> * @param e element to link * @param timeout length of time to wait * @return {@code true} if successful, otherwise {@code false} - * * @throws NullPointerException if e is null * @throws InterruptedException if the thread is interrupted whist waiting * for space @@ -824,7 +818,6 @@ final class LinkedBlockingDeque<E> extends AbstractQueue<E> * @param timeout length of time to wait * @param unit units that timeout is expressed in * @return {@code true} if successful, otherwise {@code false} - * * @throws NullPointerException if e is null * @throws InterruptedException if the thread is interrupted whist waiting * for space diff --git a/src/test/java/org/apache/commons/pool2/AbstractTestObjectPool.java b/src/test/java/org/apache/commons/pool2/AbstractTestObjectPool.java index a81afce0..4d3800eb 100644 --- a/src/test/java/org/apache/commons/pool2/AbstractTestObjectPool.java +++ b/src/test/java/org/apache/commons/pool2/AbstractTestObjectPool.java @@ -62,7 +62,6 @@ public abstract class AbstractTestObjectPool { * @param <E> The exception type throws by the pool * @param factory The factory to be used by the object pool * @return the newly created empty pool - * * @throws UnsupportedOperationException if the pool being tested does not * follow pool contracts. */