Minor - fix failing build (cannot use method from Java 8)
This commit is contained in:
parent
87331d116c
commit
cb10854612
@ -158,7 +158,7 @@ public class DrawDependency implements ToolTask {
|
|||||||
Map<String, Boolean> dependencies = new HashMap<>();
|
Map<String, Boolean> dependencies = new HashMap<>();
|
||||||
for (Map.Entry<Class<?>, String> entry : foundDependencies.entries()) {
|
for (Map.Entry<Class<?>, String> entry : foundDependencies.entries()) {
|
||||||
final String className = entry.getKey().getSimpleName();
|
final String className = entry.getKey().getSimpleName();
|
||||||
dependencies.putIfAbsent(className, Boolean.FALSE);
|
dependencies.put(className, Boolean.FALSE);
|
||||||
dependencies.put(entry.getValue(), Boolean.TRUE);
|
dependencies.put(entry.getValue(), Boolean.TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user