commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [lang] Avoid raw type warning
Date Sat, 06 Jun 2015 13:40:21 GMT
Repository: commons-lang
Updated Branches:
  refs/heads/master 0343b4fda -> 756ccc935


Avoid raw type warning

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

Branch: refs/heads/master
Commit: 756ccc935ef2a8f9f48e96f28c7c622ffb3e6627
Parents: 0343b4f
Author: Sebb <sebb@apache.org>
Authored: Sat Jun 6 14:40:17 2015 +0100
Committer: Sebb <sebb@apache.org>
Committed: Sat Jun 6 14:40:17 2015 +0100

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


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/756ccc93/src/main/java/org/apache/commons/lang3/text/StrLookup.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/lang3/text/StrLookup.java b/src/main/java/org/apache/commons/lang3/text/StrLookup.java
index c4d42b3..e1f6db1 100644
--- a/src/main/java/org/apache/commons/lang3/text/StrLookup.java
+++ b/src/main/java/org/apache/commons/lang3/text/StrLookup.java
@@ -96,7 +96,7 @@ public abstract class StrLookup<V> {
         }
 
         Properties properties = copyProperties(systemProperties);
-        @SuppressWarnings("unchecked") // System property keys and values are always Strings
+        @SuppressWarnings({ "unchecked", "rawtypes" }) // System property keys and values
are always Strings
         final Map<String, String> propertiesMap = (Map) properties;
 
         return new MapStrLookup<String>(propertiesMap);


Mime
View raw message