Skip to content

Commit

Permalink
No need for blank Javadoc lines between Javadoc @ tags
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Nov 28, 2024
1 parent 269ed25 commit 1c00955
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ default void addObjects(final K key, final int count) throws Exception {
*
* @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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
*
* @param <T> Type of element managed in this factory.
* @see ObjectPool
*
* @since 2.0
*/
public interface PooledObjectFactory<T> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,6 @@ public void close() {
*
* @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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,6 @@ public Iterator<E> descendingIterator() {
*
* @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
Expand Down Expand Up @@ -685,7 +684,6 @@ public boolean offer(final E 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
Expand All @@ -704,7 +702,6 @@ boolean offer(final E e, final Duration timeout) throws InterruptedException {
* @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
Expand Down Expand Up @@ -734,7 +731,6 @@ public boolean offerFirst(final E 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
Expand Down Expand Up @@ -764,7 +760,6 @@ public boolean offerFirst(final E e, final Duration timeout) throws InterruptedE
* @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
Expand Down Expand Up @@ -794,7 +789,6 @@ public boolean offerLast(final E 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
Expand Down Expand Up @@ -824,7 +818,6 @@ boolean offerLast(final E e, final Duration timeout) throws InterruptedException
* @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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ private static void reset(final ObjectPool<Object> pool, final MethodCallPoolabl
* @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.
*/
Expand Down

0 comments on commit 1c00955

Please sign in to comment.