diff --git a/src/changes/changes.xml b/src/changes/changes.xml index b5aeffa26..cbbebe2d0 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -49,8 +49,9 @@ The type attribute can be add,update,fix,remove. Rename variable names from 'clss' to 'clazz' #1087. - Javadoc: ComparableUtils'c1' to 'comparable1', 'c2' to ' + Javadoc: ComparableUtils'c1' to 'comparable1', 'c2' to ' Javadoc: Remove 2.1 specific comment #1091. + ImmutablePair and ImmutableTriple implementation don't match final in Javadoc. Bump commons-parent from 58 to 59. diff --git a/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java b/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java index 125e73379..d90950208 100644 --- a/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java +++ b/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java @@ -24,8 +24,7 @@ import java.util.Objects; * *

Although the implementation is immutable, there is no restriction on the objects * that may be stored. If mutable objects are stored in the pair, then the pair - * itself effectively becomes mutable. The class is also {@code final}, so a subclass - * can not add undesirable behavior.

+ * itself effectively becomes mutable.

* *

#ThreadSafe# if both paired objects are thread-safe

* diff --git a/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java b/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java index 8c692de0c..785d90aae 100644 --- a/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java +++ b/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java @@ -23,8 +23,7 @@ import java.util.Objects; * *

Although the implementation is immutable, there is no restriction on the objects * that may be stored. If mutable objects are stored in the triple, then the triple - * itself effectively becomes mutable. The class is also {@code final}, so a subclass - * can not add undesirable behavior.

+ * itself effectively becomes mutable.

* *

#ThreadSafe# if all three objects are thread-safe

*