Index: applications/editors/josm/plugins/measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementPlugin.java
===================================================================
--- applications/editors/josm/plugins/measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementPlugin.java	(revision 22547)
+++ applications/editors/josm/plugins/measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementPlugin.java	(revision 23193)
@@ -20,5 +20,5 @@
 
     public MeasurementPlugin(PluginInformation info) {
-    	super(info);
+        super(info);
         mode = new MeasurementMode(Main.map, "measurement", tr("measurement mode"));
         btn = new IconToggleButton(mode);
@@ -47,6 +47,6 @@
                 }
                 public void layerRemoved(final Layer oldLayer) {
-                	if (oldLayer != null && oldLayer == currentLayer)
-                		MapView.removeLayerChangeListener(this);
+                    if (oldLayer != null && oldLayer == currentLayer)
+                        MapView.removeLayerChangeListener(this);
                 }
             });
