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 7b57c9758..950244be9 100644 --- a/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java +++ b/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java @@ -94,7 +94,6 @@ public final class ImmutablePair extends Pair { * @return an immutable pair of nulls. * @since 3.6 */ - @SuppressWarnings("unchecked") public static ImmutablePair nullPair() { return NULL; } 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 19042bd45..91510915b 100644 --- a/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java +++ b/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java @@ -80,7 +80,6 @@ public final class ImmutableTriple extends Triple { * @return an immutable triple of nulls. * @since 3.6 */ - @SuppressWarnings("unchecked") public static ImmutableTriple nullTriple() { return NULL; }