commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject [lang] [LANG-1331] ImmutablePair.nullPair() Update @SuppressWarnings.
Date Mon, 15 May 2017 03:36:33 GMT
Repository: commons-lang
Updated Branches:
  refs/heads/master 776b86e99 -> e1bc28624


[LANG-1331] ImmutablePair.nullPair() Update @SuppressWarnings.

Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/e1bc2862
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/e1bc2862
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/e1bc2862

Branch: refs/heads/master
Commit: e1bc286245ce5f798b5312d65bba64c71921a3f4
Parents: 776b86e
Author: Gary Gregory <ggregory@apache.org>
Authored: Sun May 14 20:36:31 2017 -0700
Committer: Gary Gregory <ggregory@apache.org>
Committed: Sun May 14 20:36:31 2017 -0700

----------------------------------------------------------------------
 src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/e1bc2862/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java
----------------------------------------------------------------------
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 689ad24..85409fe 100644
--- a/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java
+++ b/src/main/java/org/apache/commons/lang3/tuple/ImmutablePair.java
@@ -49,7 +49,7 @@ public final class ImmutablePair<L, R> extends Pair<L, R> {
      * @return an immutable pair of nulls. 
      * @since 3.6
      */
-    @SuppressWarnings("rawtypes")
+    @SuppressWarnings("unchecked")
     public static <L, R> ImmutablePair<L, R> nullPair() {
         return NULL;
     }


Mime
View raw message