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 2a2277018 Remove unnecessary @SuppressWarnings("unchecked") 2a2277018 is described below commit 2a22770183988e57e8a885ccb0822ceadb9aa1f1 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Mon May 9 08:47:38 2022 -0400 Remove unnecessary @SuppressWarnings("unchecked") --- src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java | 1 - src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java | 1 - 2 files changed, 2 deletions(-) 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<L, R> extends Pair<L, R> { * @return an immutable pair of nulls. * @since 3.6 */ - @SuppressWarnings("unchecked") public static <L, R> ImmutablePair<L, R> 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<L, M, R> extends Triple<L, M, R> { * @return an immutable triple of nulls. * @since 3.6 */ - @SuppressWarnings("unchecked") public static <L, M, R> ImmutableTriple<L, M, R> nullTriple() { return NULL; }