From 94414ea1b64e30fa16335682d6d45cb06bc8e990 Mon Sep 17 00:00:00 2001 From: Taylor Smock Date: Thu, 21 May 2020 10:37:08 -0600 Subject: [PATCH] Move Download Window for MapWithAI to appropriate location Signed-off-by: Taylor Smock --- .../josm/plugins/mapwithai/MapWithAIPlugin.java | 2 +- .../{frontend => gui/download}/MapWithAIDownloadReader.java | 2 +- .../download}/MapWithAIDownloadReaderTest.java | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) rename src/main/java/org/openstreetmap/josm/plugins/mapwithai/{frontend => gui/download}/MapWithAIDownloadReader.java (99%) rename test/unit/org/openstreetmap/josm/plugins/mapwithai/{frontend => gui/download}/MapWithAIDownloadReaderTest.java (96%) diff --git a/src/main/java/org/openstreetmap/josm/plugins/mapwithai/MapWithAIPlugin.java b/src/main/java/org/openstreetmap/josm/plugins/mapwithai/MapWithAIPlugin.java index 237cda3..e7411a0 100644 --- a/src/main/java/org/openstreetmap/josm/plugins/mapwithai/MapWithAIPlugin.java +++ b/src/main/java/org/openstreetmap/josm/plugins/mapwithai/MapWithAIPlugin.java @@ -41,7 +41,7 @@ import org.openstreetmap.josm.plugins.mapwithai.data.validation.tests.RoutingIsl import org.openstreetmap.josm.plugins.mapwithai.data.validation.tests.StreetAddressOrder; import org.openstreetmap.josm.plugins.mapwithai.data.validation.tests.StreetAddressTest; import org.openstreetmap.josm.plugins.mapwithai.data.validation.tests.StubEndsTest; -import org.openstreetmap.josm.plugins.mapwithai.frontend.MapWithAIDownloadReader; +import org.openstreetmap.josm.plugins.mapwithai.gui.download.MapWithAIDownloadReader; import org.openstreetmap.josm.plugins.mapwithai.gui.preferences.MapWithAIPreferences; import org.openstreetmap.josm.spi.preferences.Config; import org.openstreetmap.josm.tools.Destroyable; diff --git a/src/main/java/org/openstreetmap/josm/plugins/mapwithai/frontend/MapWithAIDownloadReader.java b/src/main/java/org/openstreetmap/josm/plugins/mapwithai/gui/download/MapWithAIDownloadReader.java similarity index 99% rename from src/main/java/org/openstreetmap/josm/plugins/mapwithai/frontend/MapWithAIDownloadReader.java rename to src/main/java/org/openstreetmap/josm/plugins/mapwithai/gui/download/MapWithAIDownloadReader.java index a556752..fb14184 100644 --- a/src/main/java/org/openstreetmap/josm/plugins/mapwithai/frontend/MapWithAIDownloadReader.java +++ b/src/main/java/org/openstreetmap/josm/plugins/mapwithai/gui/download/MapWithAIDownloadReader.java @@ -1,5 +1,5 @@ // License: GPL. For details, see LICENSE file. -package org.openstreetmap.josm.plugins.mapwithai.frontend; +package org.openstreetmap.josm.plugins.mapwithai.gui.download; import static org.openstreetmap.josm.tools.I18n.tr; diff --git a/test/unit/org/openstreetmap/josm/plugins/mapwithai/frontend/MapWithAIDownloadReaderTest.java b/test/unit/org/openstreetmap/josm/plugins/mapwithai/gui/download/MapWithAIDownloadReaderTest.java similarity index 96% rename from test/unit/org/openstreetmap/josm/plugins/mapwithai/frontend/MapWithAIDownloadReaderTest.java rename to test/unit/org/openstreetmap/josm/plugins/mapwithai/gui/download/MapWithAIDownloadReaderTest.java index 234cd75..8180946 100644 --- a/test/unit/org/openstreetmap/josm/plugins/mapwithai/frontend/MapWithAIDownloadReaderTest.java +++ b/test/unit/org/openstreetmap/josm/plugins/mapwithai/gui/download/MapWithAIDownloadReaderTest.java @@ -1,5 +1,5 @@ // License: GPL. For details, see LICENSE file. -package org.openstreetmap.josm.plugins.mapwithai.frontend; +package org.openstreetmap.josm.plugins.mapwithai.gui.download; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.assertEquals; @@ -23,7 +23,8 @@ import org.openstreetmap.josm.plugins.mapwithai.MapWithAIPlugin; import org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIDataUtils; import org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIDataUtilsTest; import org.openstreetmap.josm.plugins.mapwithai.backend.MapWithAIPreferenceHelper; -import org.openstreetmap.josm.plugins.mapwithai.frontend.MapWithAIDownloadReader.MapWithAIDownloadData; +import org.openstreetmap.josm.plugins.mapwithai.gui.download.MapWithAIDownloadReader; +import org.openstreetmap.josm.plugins.mapwithai.gui.download.MapWithAIDownloadReader.MapWithAIDownloadData; import org.openstreetmap.josm.plugins.mapwithai.testutils.MapWithAITestRules; import org.openstreetmap.josm.testutils.JOSMTestRules; import org.openstreetmap.josm.tools.ImageProvider;