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 cf21560c0cf..16532191d72 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 AbstractSupplier() { } /** - * Returns this instance typed as the proper subclass type. + * Returns this instance typed as the subclass type {@code B}. + *
+ * This is the same as the expression: + *
+ *+ * (B) this + ** - * @return this instance typed as the proper subclass type. + * @return this instance typed as the subclass type {@code B}. */ @SuppressWarnings("unchecked") protected B asThis() {