Slightly better Javadoc.
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
}
