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-lang.git
The following commit(s) were added to refs/heads/master by this push:
new a6e112c3a Javadoc
a6e112c3a is described below
commit a6e112c3a7bda61d8e965c50282b98bb55fb0cbb
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Oct 11 11:43:00 2024 -0400
Javadoc
---
.../org/apache/commons/lang3/builder/AbstractSupplier.java | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git
a/src/main/java/org/apache/commons/lang3/builder/AbstractSupplier.java
b/src/main/java/org/apache/commons/lang3/builder/AbstractSupplier.java
index cf21560c0..16532191d 100644
--- a/src/main/java/org/apache/commons/lang3/builder/AbstractSupplier.java
+++ b/src/main/java/org/apache/commons/lang3/builder/AbstractSupplier.java
@@ -37,9 +37,15 @@ public abstract class AbstractSupplier<T, B extends
AbstractSupplier<T, B, E>, E
}
/**
- * Returns this instance typed as the proper subclass type.
+ * Returns this instance typed as the subclass type {@code B}.
+ * <p>
+ * This is the same as the expression:
+ * </p>
+ * <pre>
+ * (B) this
+ * </pre>
*
- * @return this instance typed as the proper subclass type.
+ * @return this instance typed as the subclass type {@code B}.
*/
@SuppressWarnings("unchecked")
protected B asThis() {