From 0596c1dcc859dbbf7a0532eccc0cf2489f8652a8 Mon Sep 17 00:00:00 2001 From: Vincent Privat Date: Fri, 14 Sep 2018 21:20:45 +0200 Subject: [PATCH] fix deprecation warning --- .classpath | 10 ++++++++++ .gitignore | 1 + .../josm/plugins/pt_assistant/TestUtil.java | 5 +---- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.classpath b/.classpath index c66f59c5..33e82629 100644 --- a/.classpath +++ b/.classpath @@ -1,8 +1,18 @@ + + + + + + + + + + diff --git a/.gitignore b/.gitignore index 47323615..958813e7 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /bin/ /javadoc/ /checkstyle-josm-pt_assistant.xml +/bintest/ diff --git a/test/unit/org/openstreetmap/josm/plugins/pt_assistant/TestUtil.java b/test/unit/org/openstreetmap/josm/plugins/pt_assistant/TestUtil.java index 7533edee..bba311d9 100644 --- a/test/unit/org/openstreetmap/josm/plugins/pt_assistant/TestUtil.java +++ b/test/unit/org/openstreetmap/josm/plugins/pt_assistant/TestUtil.java @@ -10,7 +10,6 @@ import java.lang.reflect.Method; import java.lang.reflect.Modifier; -import org.openstreetmap.josm.Main; import org.openstreetmap.josm.data.Preferences; import org.openstreetmap.josm.data.preferences.JosmBaseDirectories; import org.openstreetmap.josm.data.projection.ProjectionRegistry; @@ -33,10 +32,8 @@ private TestUtil() { } /** - * Initializes the {@link Main} class of JOSM and the mapillary plugin with + * Initializes the main class of JOSM and the mapillary plugin with * the preferences from test/data/preferences. - * - * That is needed e.g. to use {@link MapillaryLayer#getInstance()} */ public static synchronized void initPlugin() { if (!isInitialized) {