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 9a5664d commit 4edc3dc
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@
* </p>
*
* @see GenericKeyedObjectPool
*
* @param <T> Type of element pooled in this pool.
*
* @since 2.0
*/
public class GenericObjectPool<T> extends BaseGenericObjectPool<T>
Expand Down Expand Up @@ -187,7 +185,6 @@ public GenericObjectPool(final PooledObjectFactory<T> factory,
* is null, this is a no-op (no exception, but no impact on the pool).
*
* @param p The object to make idle
*
* @throws Exception If the factory fails to passivate the object
*/
private void addIdleObject(final PooledObject<T> p) throws Exception {
Expand Down Expand Up @@ -276,7 +273,6 @@ public T borrowObject() throws Exception {
*
* @param borrowMaxWaitDuration The time to wait for an object
* to become available
*
* @return object instance from the pool
* @throws NoSuchElementException if an instance cannot be returned
* @throws Exception if an object instance cannot be returned due to an error
Expand Down Expand Up @@ -414,11 +410,8 @@ private Duration durationSince(final Instant startInstant) {
*
* @param borrowMaxWaitMillis The time to wait in milliseconds for an object
* to become available
*
* @return object instance from the pool
*
* @throws NoSuchElementException if an instance cannot be returned
*
* @throws Exception if an object instance cannot be returned due to an
* error
*/
Expand Down Expand Up @@ -597,7 +590,6 @@ private PooledObject<T> create(final Duration maxWaitDuration) throws Exception
*
* @param toDestroy The wrapped pooled object to destroy
* @param destroyMode DestroyMode context provided to the factory
*
* @throws Exception If the factory fails to destroy the pooled object
* cleanly
*/
Expand Down Expand Up @@ -824,7 +816,6 @@ public String getFactoryType() {
*
* @return the maximum number of "idle" instances that can be held in the
* pool or a negative value if there is no limit
*
* @see #setMaxIdle
*/
@Override
Expand All @@ -844,7 +835,6 @@ public int getMaxIdle() {
* </p>
*
* @return The minimum number of objects.
*
* @see #setMinIdle(int)
* @see #setMaxIdle(int)
* @see #setDurationBetweenEvictionRuns(Duration)
Expand Down Expand Up @@ -1107,7 +1097,6 @@ public void returnObject(final T obj) {
* Sets the base pool configuration.
*
* @param conf the new configuration to use. This is used by value.
*
* @see GenericObjectPoolConfig
*/
public void setConfig(final GenericObjectPoolConfig<T> conf) {
Expand All @@ -1130,7 +1119,6 @@ public void setConfig(final GenericObjectPoolConfig<T> conf) {
* The cap on the number of "idle" instances in the pool. Use a
* negative value to indicate an unlimited number of idle
* instances
*
* @see #getMaxIdle
*/
public void setMaxIdle(final int maxIdle) {
Expand All @@ -1150,7 +1138,6 @@ public void setMaxIdle(final int maxIdle) {
*
* @param minIdle
* The minimum number of objects.
*
* @see #getMinIdle()
* @see #getMaxIdle()
* @see #getDurationBetweenEvictionRuns()
Expand Down

0 comments on commit 4edc3dc

Please sign in to comment.