From 297ce7289ae94559f2476516abf434cfd6d5ad10 Mon Sep 17 00:00:00 2001 From: Taylor Smock Date: Mon, 21 Oct 2019 16:19:47 -0600 Subject: [PATCH] Ensure that a List is serializable Signed-off-by: Taylor Smock --- .../josm/plugins/mapwithai/backend/MapWithAIDataUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/openstreetmap/josm/plugins/mapwithai/backend/MapWithAIDataUtils.java b/src/main/java/org/openstreetmap/josm/plugins/mapwithai/backend/MapWithAIDataUtils.java index 4192255..063c3ea 100644 --- a/src/main/java/org/openstreetmap/josm/plugins/mapwithai/backend/MapWithAIDataUtils.java +++ b/src/main/java/org/openstreetmap/josm/plugins/mapwithai/backend/MapWithAIDataUtils.java @@ -66,7 +66,7 @@ public final class MapWithAIDataUtils { public GetDataRunnable(List bbox, DataSet dataSet, PleaseWaitProgressMonitor monitor) { super(); - this.bbox = bbox; + this.bbox = new ArrayList<>(bbox); this.dataSet = dataSet; this.monitor = monitor; }