Avoid raw type warning

This commit is contained in:
Sebb 2015-06-06 14:40:17 +01:00
parent 0343b4fda8
commit 756ccc935e
1 changed files with 1 additions and 1 deletions

View File

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