mirror of https://github.com/dspinellis/UMLGraph
Get rid of Java generics warning
Casts are still needed, because Properties extends Hashtable<Object, Object> instead of Hashtable<String, String>.
This commit is contained in:
parent
d46829bb01
commit
fa40aaf731
|
|
@ -612,7 +612,7 @@ public class Options implements Cloneable, OptionProvider {
|
|||
InputStream is = new FileInputStream(apiDocMapFileName);
|
||||
Properties userMap = new Properties();
|
||||
userMap.load(is);
|
||||
for (Map.Entry mapEntry : userMap.entrySet()) {
|
||||
for (Map.Entry<?, ?> mapEntry : userMap.entrySet()) {
|
||||
try {
|
||||
Pattern regex = Pattern.compile((String) mapEntry.getKey());
|
||||
String thisRoot = (String) mapEntry.getValue();
|
||||
|
|
|
|||
Loading…
Reference in New Issue