[commons-lang] branch master updated: Remove unnecessary @SuppressWarnings("unchecked")

2022-05-09 Thread ggregory
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 
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 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;
 }



[commons-lang] branch master updated: Remove unnecessary @SuppressWarnings("unchecked").

2021-12-04 Thread ggregory
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 ad1a8c9  Remove unnecessary @SuppressWarnings("unchecked").
ad1a8c9 is described below

commit ad1a8c937e0ecc3167dbd202b4129c1fe0c062ff
Author: Gary Gregory 
AuthorDate: Sat Dec 4 10:39:24 2021 -0500

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 e5a8dab..ef20541 100644
--- a/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java
+++ b/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java
@@ -93,7 +93,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 d3b65ec..b8aad55 100644
--- a/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java
+++ b/src/main/java/org/apache/commons/lang3/tuple/ImmutableTriple.java
@@ -78,7 +78,6 @@ public final class ImmutableTriple extends Triple {
  * @return an immutable triple of nulls.
  * @since 3.6
  */
-@SuppressWarnings("unchecked")
 public static  ImmutableTriple nullTriple() {
 return NULL;
 }