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 6eac877  Slightly better Javadoc.
6eac877 is described below

commit 6eac87714c8b66f05592ef379981d1340262fa49
Author: Gary Gregory <gardgreg...@gmail.com>
AuthorDate: Thu Jun 3 09:04:06 2021 -0400

    Slightly better Javadoc.
---
 src/main/java/org/apache/commons/pool2/DestroyMode.java | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/commons/pool2/DestroyMode.java 
b/src/main/java/org/apache/commons/pool2/DestroyMode.java
index d81ad42..ec5b1b0 100644
--- a/src/main/java/org/apache/commons/pool2/DestroyMode.java
+++ b/src/main/java/org/apache/commons/pool2/DestroyMode.java
@@ -17,14 +17,16 @@
 package org.apache.commons.pool2;
 
 /**
- * Destroy context provided to object factories via destroyObject methods. 
Values provide information about why the pool
- * is asking for a pooled object to be destroyed.
+ * Destroy context provided to object factories via {@code destroyObject} and 
{@code invalidateObject} methods. Values
+ * provide information about why the pool is asking for a pooled object to be 
destroyed.
  *
  * @since 2.9.0
  */
 public enum DestroyMode {
-    /** Normal destroy */
+
+    /** Normal destroy. */
     NORMAL,
-    /** Destroy abandoned object */
+
+    /** Destroy abandoned object. */
     ABANDONED
 }

Reply via email to