Minor - fix failing build (cannot use method from Java 8)

This commit is contained in:
ljacqu 2016-05-27 23:05:03 +02:00
parent 87331d116c
commit cb10854612

View File

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