You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/08/08 15:24:20 UTC

[commons-pool] branch master updated: Fix worng javadoc. (#91)

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-pool.git


The following commit(s) were added to refs/heads/master by this push:
     new 85c8d62  Fix worng javadoc. (#91)
85c8d62 is described below

commit 85c8d624dbf414090101e8476ef82e6324b165b7
Author: Arturo Bernal <ar...@gmail.com>
AuthorDate: Sun Aug 8 17:24:16 2021 +0200

    Fix worng javadoc. (#91)
---
 .../java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 8ba70f9..cfd663f 100644
--- a/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
+++ b/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
@@ -809,7 +809,7 @@ public class GenericKeyedObjectPool<K, T> extends BaseGenericObjectPool<T>
     /**
      * De-register the use of a key by an object.
      * <p>
-     * {@link #register()} and {@link #deregister()} must always be used as a pair.
+     * {@link #register(Object)} and {@link #deregister(Object)} must always be used as a pair.
      * </p>
      *
      * @param k The key to de-register
@@ -1359,7 +1359,7 @@ public class GenericKeyedObjectPool<K, T> extends BaseGenericObjectPool<T>
     /**
      * Register the use of a key by an object.
      * <p>
-     * {@link #register()} and {@link #deregister()} must always be used as a pair.
+     * {@link #register(Object)} and {@link #deregister(Object)} must always be used as a pair.
      * </p>
      *
      * @param k The key to register