From 756ccc935ef2a8f9f48e96f28c7c622ffb3e6627 Mon Sep 17 00:00:00 2001 From: Sebb Date: Sat, 6 Jun 2015 14:40:17 +0100 Subject: [PATCH] Avoid raw type warning --- src/main/java/org/apache/commons/lang3/text/StrLookup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 c4d42b3ee..e1f6db144 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 { } 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 propertiesMap = (Map) properties; return new MapStrLookup(propertiesMap);