# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: C:\Users\Franz\Documents\NetBeansProjects\JOSM-Plugins\core\src\org\openstreetmap\josm\gui
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: NavigatableComponent.java
--- NavigatableComponent.java Base (BASE)
+++ NavigatableComponent.java Locally Modified (Based On LOCAL)
@@ -383,8 +383,8 @@
             final double frames = milliseconds * fps / 1000;
             final EastNorth finalNewCenter = newCenter;
 
-            new Thread(
-                    new Runnable() {
+            new Thread(){
+                @Override
                         public void run() {
                             for (int i=0; i<frames; i++)
                             {
@@ -393,10 +393,9 @@
                                 try { Thread.sleep(1000 / fps); } catch (InterruptedException ex) { };
                             }
                         }
+            }.start();
                     }
-                    ).start();
         }
-    }
 
     public void zoomToFactor(double x, double y, double factor) {
         double newScale = scale*factor;
