From a90f7f626ca3b0efd1c46ca22c326e8778db4d11 Mon Sep 17 00:00:00 2001 From: Taylor Smock Date: Thu, 25 Jun 2020 14:35:45 -0600 Subject: [PATCH] FIXUP: Currently, there should be _no_ remote control based conflation servers. Remove them from entries. Signed-off-by: Taylor Smock --- .../plugins/mapwithai/data/mapwithai/MapWithAILayerInfo.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/openstreetmap/josm/plugins/mapwithai/data/mapwithai/MapWithAILayerInfo.java b/src/main/java/org/openstreetmap/josm/plugins/mapwithai/data/mapwithai/MapWithAILayerInfo.java index 269b1ff..4536b3c 100644 --- a/src/main/java/org/openstreetmap/josm/plugins/mapwithai/data/mapwithai/MapWithAILayerInfo.java +++ b/src/main/java/org/openstreetmap/josm/plugins/mapwithai/data/mapwithai/MapWithAILayerInfo.java @@ -150,6 +150,8 @@ public class MapWithAILayerInfo { Logging.warn("Unable to load imagery preference entry:" + e); } } + // Remove a remote control commands in layers + layers.removeIf(i -> i.getUrl().contains("localhost:8111")); Collections.sort(layers); } loadDefaults(false, MainApplication.worker, fastFail, listener);