From 0c522d932cffdb89c658b70e18e67f3bc46c0b91 Mon Sep 17 00:00:00 2001 From: Taylor Smock Date: Thu, 30 Jan 2020 14:55:32 -0700 Subject: [PATCH] Formatting fixes Signed-off-by: Taylor Smock --- .../plugins/mapwithai/commands/CreateConnectionsCommand.java | 2 +- .../josm/plugins/mapwithai/commands/MapWithAIAddCommand.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/openstreetmap/josm/plugins/mapwithai/commands/CreateConnectionsCommand.java b/src/main/java/org/openstreetmap/josm/plugins/mapwithai/commands/CreateConnectionsCommand.java index 9d7e6dc..cac4dfc 100644 --- a/src/main/java/org/openstreetmap/josm/plugins/mapwithai/commands/CreateConnectionsCommand.java +++ b/src/main/java/org/openstreetmap/josm/plugins/mapwithai/commands/CreateConnectionsCommand.java @@ -100,7 +100,7 @@ public class CreateConnectionsCommand extends Command { } final Collection tPrimitives = new TreeSet<>(); abstractCommand.getInterestedTypes() - .forEach(clazz -> tPrimitives.addAll(Utils.filteredCollection(realPrimitives, clazz))); + .forEach(clazz -> tPrimitives.addAll(Utils.filteredCollection(realPrimitives, clazz))); final Command actualCommand = abstractCommand.getCommand(tPrimitives.stream() .filter(prim -> prim.hasKey(abstractCommand.getKey())).collect(Collectors.toList())); diff --git a/src/main/java/org/openstreetmap/josm/plugins/mapwithai/commands/MapWithAIAddCommand.java b/src/main/java/org/openstreetmap/josm/plugins/mapwithai/commands/MapWithAIAddCommand.java index dbe8c55..a3b8294 100644 --- a/src/main/java/org/openstreetmap/josm/plugins/mapwithai/commands/MapWithAIAddCommand.java +++ b/src/main/java/org/openstreetmap/josm/plugins/mapwithai/commands/MapWithAIAddCommand.java @@ -173,7 +173,7 @@ public class MapWithAIAddCommand extends Command implements Runnable { public Collection getSourceTags() { return sources.entrySet().parallelStream() .filter(entry -> editable.getPrimitiveById(entry.getKey()) != null - && !editable.getPrimitiveById(entry.getKey()).isDeleted()) + && !editable.getPrimitiveById(entry.getKey()).isDeleted()) .map(Entry::getValue).filter(Objects::nonNull).distinct().sorted().collect(Collectors.toList()); }