Index: applications/editors/josm/plugins/cadastre-fr/build.xml
===================================================================
--- applications/editors/josm/plugins/cadastre-fr/build.xml	(revision 35644)
+++ applications/editors/josm/plugins/cadastre-fr/build.xml	(revision 35645)
@@ -4,5 +4,5 @@
     <property name="commit.message" value="Changed constructor for Plugin"/>
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
-    <property name="plugin.main.version" value="16976"/>
+    <property name="plugin.main.version" value="17161"/>
     
     <!-- Configure these properties (replace "..." accordingly).
Index: applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/CadastrePlugin.java
===================================================================
--- applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/CadastrePlugin.java	(revision 35644)
+++ applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/CadastrePlugin.java	(revision 35645)
@@ -37,5 +37,4 @@
 import org.openstreetmap.josm.gui.preferences.PreferenceDialog;
 import org.openstreetmap.josm.gui.preferences.PreferenceSetting;
-import org.openstreetmap.josm.gui.preferences.map.MapPreference;
 import org.openstreetmap.josm.gui.preferences.projection.ProjectionPreference;
 import org.openstreetmap.josm.gui.util.GuiHelper;
@@ -71,5 +70,5 @@
  *         Don-vip&lt;vincent.privat@gmail.com&gt; for the maintenance and Edigeo support
  *
- * @version 3.0
+ * @version 3.1
  * <br>History:
  * <br>0.1 17-Jun-2008 first prototype using a first Lambert projection impl. in core
@@ -529,18 +528,15 @@
      */
     public static void askToChangeProjection() {
-        GuiHelper.runInEDTAndWait(new Runnable() {
-            @Override
-            public void run() {
-                if (JOptionPane.showConfirmDialog(MainApplication.getMainFrame(),
-                        tr("To enable the cadastre WMS plugin, change\n"
-                                + "the current projection to one of the cadastre\n"
-                                + "projections and retry"),
-                                tr("Change the current projection"), JOptionPane.OK_CANCEL_OPTION)
-                    == JOptionPane.OK_OPTION) {
-                    PreferenceDialog p = new PreferenceDialog(MainApplication.getMainFrame());
-                    p.selectPreferencesTabByClass(MapPreference.class);
-                    p.getTabbedPane().getSetting(ProjectionPreference.class).selectProjection(ProjectionPreference.lambert_cc9);
-                    p.setVisible(true);
-                }
+        GuiHelper.runInEDTAndWait(() -> {
+            if (JOptionPane.showConfirmDialog(MainApplication.getMainFrame(),
+                    tr("To enable the cadastre WMS plugin, change\n"
+                            + "the current projection to one of the cadastre\n"
+                            + "projections and retry"),
+                            tr("Change the current projection"), JOptionPane.OK_CANCEL_OPTION)
+                == JOptionPane.OK_OPTION) {
+                PreferenceDialog p = new PreferenceDialog(MainApplication.getMainFrame());
+                p.selectPreferencesTabByClass(ProjectionPreference.class);
+                p.getTabbedPane().getSetting(ProjectionPreference.class).selectProjection(ProjectionPreference.lambert_cc9);
+                p.setVisible(true);
             }
         });
