Formatting fixes

Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
pull/1/head
Taylor Smock 2020-01-30 14:55:32 -07:00
rodzic b798cef706
commit 0c522d932c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 625F6A74A3E4311A
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -100,7 +100,7 @@ public class CreateConnectionsCommand extends Command {
}
final Collection<OsmPrimitive> 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()));

Wyświetl plik

@ -173,7 +173,7 @@ public class MapWithAIAddCommand extends Command implements Runnable {
public Collection<String> 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());
}