From 53b386dd76aad6b1a613dbf990e0301e6632a910 Mon Sep 17 00:00:00 2001 From: gaben <23311361+gabortim@users.noreply.github.com> Date: Wed, 27 Dec 2023 20:38:18 +0100 Subject: [PATCH] Move Tarjan class one level up --- .../josm/data/{validation => }/algorithms/Tarjan.java | 2 +- .../josm/data/{validation => }/algorithms/package-info.java | 2 +- .../openstreetmap/josm/data/validation/tests/CycleDetector.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/org/openstreetmap/josm/data/{validation => }/algorithms/Tarjan.java (98%) rename src/org/openstreetmap/josm/data/{validation => }/algorithms/package-info.java (66%) diff --git a/src/org/openstreetmap/josm/data/validation/algorithms/Tarjan.java b/src/org/openstreetmap/josm/data/algorithms/Tarjan.java similarity index 98% rename from src/org/openstreetmap/josm/data/validation/algorithms/Tarjan.java rename to src/org/openstreetmap/josm/data/algorithms/Tarjan.java index 3dff63fbe1b..49a9b2f028b 100644 --- a/src/org/openstreetmap/josm/data/validation/algorithms/Tarjan.java +++ b/src/org/openstreetmap/josm/data/algorithms/Tarjan.java @@ -1,5 +1,5 @@ // License: GPL. For details, see LICENSE file. -package org.openstreetmap.josm.data.validation.algorithms; +package org.openstreetmap.josm.data.algorithms; import org.openstreetmap.josm.data.osm.Node; import org.openstreetmap.josm.data.osm.NodeGraph; diff --git a/src/org/openstreetmap/josm/data/validation/algorithms/package-info.java b/src/org/openstreetmap/josm/data/algorithms/package-info.java similarity index 66% rename from src/org/openstreetmap/josm/data/validation/algorithms/package-info.java rename to src/org/openstreetmap/josm/data/algorithms/package-info.java index 5788cfb0101..dcf2b45585a 100644 --- a/src/org/openstreetmap/josm/data/validation/algorithms/package-info.java +++ b/src/org/openstreetmap/josm/data/algorithms/package-info.java @@ -3,4 +3,4 @@ /** * General purpose algorithm classes for OSM data validation. */ -package org.openstreetmap.josm.data.validation.algorithms; +package org.openstreetmap.josm.data.algorithms; diff --git a/src/org/openstreetmap/josm/data/validation/tests/CycleDetector.java b/src/org/openstreetmap/josm/data/validation/tests/CycleDetector.java index 00879597d3f..e52aab4354d 100644 --- a/src/org/openstreetmap/josm/data/validation/tests/CycleDetector.java +++ b/src/org/openstreetmap/josm/data/validation/tests/CycleDetector.java @@ -25,7 +25,7 @@ import org.openstreetmap.josm.data.validation.Severity; import org.openstreetmap.josm.data.validation.Test; import org.openstreetmap.josm.data.validation.TestError; -import org.openstreetmap.josm.data.validation.algorithms.Tarjan; +import org.openstreetmap.josm.data.algorithms.Tarjan; import org.openstreetmap.josm.gui.progress.ProgressMonitor; import org.openstreetmap.josm.spi.preferences.Config; import org.openstreetmap.josm.tools.Pair;