Skip to content

Commit 1c00955

Browse files
committed
No need for blank Javadoc lines between Javadoc @ tags
1 parent 269ed25 commit 1c00955

File tree

5 files changed

+0
-11
lines changed

5 files changed

+0
-11
lines changed

src/main/java/org/apache/commons/pool2/KeyedObjectPool.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ default void addObjects(final K key, final int count) throws Exception {
160160
*
161161
* @param key the key used to obtain the object
162162
* @return an instance from this pool.
163-
*
164163
* @throws IllegalStateException
165164
* after {@link #close close} has been called on this pool
166165
* @throws Exception

src/main/java/org/apache/commons/pool2/PooledObjectFactory.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
*
6767
* @param <T> Type of element managed in this factory.
6868
* @see ObjectPool
69-
*
7069
* @since 2.0
7170
*/
7271
public interface PooledObjectFactory<T> {

src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,6 @@ public void close() {
710710
*
711711
* @param key Key associated with new pooled object.
712712
* @return The new, wrapped pooled object. May return null.
713-
*
714713
* @throws Exception If the objection creation fails.
715714
*/
716715
private PooledObject<T> create(final K key) throws Exception {

src/main/java/org/apache/commons/pool2/impl/LinkedBlockingDeque.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,6 @@ public Iterator<E> descendingIterator() {
475475
*
476476
* @param c The collection to add the elements to
477477
* @return number of elements added to the collection
478-
*
479478
* @throws UnsupportedOperationException if the add operation is not
480479
* supported by the specified collection
481480
* @throws ClassCastException if the class of the elements held by this
@@ -685,7 +684,6 @@ public boolean offer(final E e) {
685684
* @param e element to link
686685
* @param timeout length of time to wait
687686
* @return {@code true} if successful, otherwise {@code false}
688-
*
689687
* @throws NullPointerException if e is null
690688
* @throws InterruptedException if the thread is interrupted whilst waiting
691689
* for space
@@ -704,7 +702,6 @@ boolean offer(final E e, final Duration timeout) throws InterruptedException {
704702
* @param timeout length of time to wait
705703
* @param unit units that timeout is expressed in
706704
* @return {@code true} if successful, otherwise {@code false}
707-
*
708705
* @throws NullPointerException if e is null
709706
* @throws InterruptedException if the thread is interrupted whilst waiting
710707
* for space
@@ -734,7 +731,6 @@ public boolean offerFirst(final E e) {
734731
* @param e element to link
735732
* @param timeout length of time to wait
736733
* @return {@code true} if successful, otherwise {@code false}
737-
*
738734
* @throws NullPointerException if e is null
739735
* @throws InterruptedException if the thread is interrupted whilst waiting
740736
* for space
@@ -764,7 +760,6 @@ public boolean offerFirst(final E e, final Duration timeout) throws InterruptedE
764760
* @param timeout length of time to wait
765761
* @param unit units that timeout is expressed in
766762
* @return {@code true} if successful, otherwise {@code false}
767-
*
768763
* @throws NullPointerException if e is null
769764
* @throws InterruptedException if the thread is interrupted whilst waiting
770765
* for space
@@ -794,7 +789,6 @@ public boolean offerLast(final E e) {
794789
* @param e element to link
795790
* @param timeout length of time to wait
796791
* @return {@code true} if successful, otherwise {@code false}
797-
*
798792
* @throws NullPointerException if e is null
799793
* @throws InterruptedException if the thread is interrupted whist waiting
800794
* for space
@@ -824,7 +818,6 @@ boolean offerLast(final E e, final Duration timeout) throws InterruptedException
824818
* @param timeout length of time to wait
825819
* @param unit units that timeout is expressed in
826820
* @return {@code true} if successful, otherwise {@code false}
827-
*
828821
* @throws NullPointerException if e is null
829822
* @throws InterruptedException if the thread is interrupted whist waiting
830823
* for space

src/test/java/org/apache/commons/pool2/AbstractTestObjectPool.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ private static void reset(final ObjectPool<Object> pool, final MethodCallPoolabl
6262
* @param <E> The exception type throws by the pool
6363
* @param factory The factory to be used by the object pool
6464
* @return the newly created empty pool
65-
*
6665
* @throws UnsupportedOperationException if the pool being tested does not
6766
* follow pool contracts.
6867
*/

0 commit comments

Comments
 (0)