Index: applications/editors/josm/plugins/touchscreenhelper/src/touchscreenhelper/BrowseAction.java
===================================================================
--- applications/editors/josm/plugins/touchscreenhelper/src/touchscreenhelper/BrowseAction.java	(revision 21576)
+++ applications/editors/josm/plugins/touchscreenhelper/src/touchscreenhelper/BrowseAction.java	(revision 23193)
@@ -16,64 +16,64 @@
     MouseMotionListener {
 
-	public BrowseAction(MapFrame mapFrame) {
-		super(tr("Browse"), "browse", tr("Browse map with left button"),
-		    mapFrame, Cursor.getPredefinedCursor(Cursor.MOVE_CURSOR));
-	}
+    public BrowseAction(MapFrame mapFrame) {
+        super(tr("Browse"), "browse", tr("Browse map with left button"),
+            mapFrame, Cursor.getPredefinedCursor(Cursor.MOVE_CURSOR));
+    }
 
-	@Override public void enterMode() {
-		super.enterMode();
+    @Override public void enterMode() {
+        super.enterMode();
 
-		Main.map.mapView.addMouseListener(this);
-		Main.map.mapView.addMouseMotionListener(this);
-	}
+        Main.map.mapView.addMouseListener(this);
+        Main.map.mapView.addMouseMotionListener(this);
+    }
 
-	@Override public void exitMode() {
-		super.exitMode();
+    @Override public void exitMode() {
+        super.exitMode();
 
-		Main.map.mapView.removeMouseListener(this);
-		Main.map.mapView.removeMouseMotionListener(this);
-	}
+        Main.map.mapView.removeMouseListener(this);
+        Main.map.mapView.removeMouseMotionListener(this);
+    }
 
-	public void mouseDragged(MouseEvent e) {
-		if ((e.getModifiersEx() & MouseEvent.BUTTON1_DOWN_MASK) !=
-		    MouseEvent.BUTTON1_DOWN_MASK) {
-			endMovement();
-			return;
-		}
+    public void mouseDragged(MouseEvent e) {
+        if ((e.getModifiersEx() & MouseEvent.BUTTON1_DOWN_MASK) !=
+            MouseEvent.BUTTON1_DOWN_MASK) {
+            endMovement();
+            return;
+        }
 
-		if (mousePosMove == null)
-			startMovement(e);
-		EastNorth center = Main.map.mapView.getCenter();
-		EastNorth mouseCenter = Main.map.mapView.getEastNorth(e.getX(), e.getY());
-		Main.map.mapView.zoomTo(new EastNorth(
-		    mousePosMove.east() + center.east() - mouseCenter.east(),
-		    mousePosMove.north() + center.north() - mouseCenter.north()));
-	}
+        if (mousePosMove == null)
+            startMovement(e);
+        EastNorth center = Main.map.mapView.getCenter();
+        EastNorth mouseCenter = Main.map.mapView.getEastNorth(e.getX(), e.getY());
+        Main.map.mapView.zoomTo(new EastNorth(
+            mousePosMove.east() + center.east() - mouseCenter.east(),
+            mousePosMove.north() + center.north() - mouseCenter.north()));
+    }
 
-	@Override public void mousePressed(MouseEvent e) {
-		if (e.getButton() == MouseEvent.BUTTON1)
-			startMovement(e);
-	}
+    @Override public void mousePressed(MouseEvent e) {
+        if (e.getButton() == MouseEvent.BUTTON1)
+            startMovement(e);
+    }
 
-	@Override public void mouseReleased(MouseEvent e) {
-		if (e.getButton() == MouseEvent.BUTTON1)
-			endMovement();
-	}
+    @Override public void mouseReleased(MouseEvent e) {
+        if (e.getButton() == MouseEvent.BUTTON1)
+            endMovement();
+    }
 
-	private EastNorth mousePosMove;
-	private boolean movementInPlace = false;
+    private EastNorth mousePosMove;
+    private boolean movementInPlace = false;
 
-	private void startMovement(MouseEvent e) {
-		if (movementInPlace)
-			return;
-		movementInPlace = true;
-		mousePosMove = Main.map.mapView.getEastNorth(e.getX(), e.getY());
-	}
+    private void startMovement(MouseEvent e) {
+        if (movementInPlace)
+            return;
+        movementInPlace = true;
+        mousePosMove = Main.map.mapView.getEastNorth(e.getX(), e.getY());
+    }
 
-	private void endMovement() {
-		if (!movementInPlace)
-			return;
-		movementInPlace = false;
-		mousePosMove = null;
-	}
+    private void endMovement() {
+        if (!movementInPlace)
+            return;
+        movementInPlace = false;
+        mousePosMove = null;
+    }
 }
Index: applications/editors/josm/plugins/touchscreenhelper/src/touchscreenhelper/TouchScreenHelperPlugin.java
===================================================================
--- applications/editors/josm/plugins/touchscreenhelper/src/touchscreenhelper/TouchScreenHelperPlugin.java	(revision 21576)
+++ applications/editors/josm/plugins/touchscreenhelper/src/touchscreenhelper/TouchScreenHelperPlugin.java	(revision 23193)
@@ -8,12 +8,12 @@
 
 public class TouchScreenHelperPlugin extends Plugin {
-	public TouchScreenHelperPlugin(PluginInformation info) {
-		super(info);
-	}
-	@Override public void mapFrameInitialized(MapFrame oldFrame,
-	    MapFrame newFrame) {
-		if (oldFrame == null && newFrame != null) {
-			Main.map.addMapMode(new IconToggleButton(new BrowseAction(Main.map)));
-		}
-	}
+    public TouchScreenHelperPlugin(PluginInformation info) {
+        super(info);
+    }
+    @Override public void mapFrameInitialized(MapFrame oldFrame,
+        MapFrame newFrame) {
+        if (oldFrame == null && newFrame != null) {
+            Main.map.addMapMode(new IconToggleButton(new BrowseAction(Main.map)));
+        }
+    }
 }
