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);