From 01fe91839a86c675e312293095956c07d87e935c Mon Sep 17 00:00:00 2001
From: Benedikt Ritter 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 not {@code final}, so a subclass
- * could add undesirable behaviour.
#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 423c76bb3..7e4660c22 100644 --- a/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java +++ b/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java @@ -21,8 +21,8 @@ package org.apache.commons.lang3.tuple; * *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 not {@code final}, so a subclass - * could add undesirable behaviour.
+ * itself effectively becomes mutable. The class is also {@code final}, so a subclass + * can not add undesirable behaviour. * *#ThreadSafe# if all three objects are thread-safe
*