Avoid raw type warning
This commit is contained in:
parent
0343b4fda8
commit
756ccc935e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue