Index: trunk/src/org/openstreetmap/josm/actions/AboutAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/AboutAction.java	(revision 19634)
+++ trunk/src/org/openstreetmap/josm/actions/AboutAction.java	(revision 19635)
@@ -72,6 +72,4 @@
         final JTabbedPane about = new JTabbedPane();
 
-        Version version = Version.getInstance();
-
         JosmTextArea readme = new JosmTextArea();
         readme.setFont(GuiHelper.getMonospacedFont(readme));
@@ -79,4 +77,6 @@
         setTextFromResourceFile(readme, "/README");
         readme.setCaretPosition(0);
+
+        Version version = Version.getInstance();
 
         JosmTextArea revision = new JosmTextArea();
Index: trunk/src/org/openstreetmap/josm/actions/mapmode/SplitMode.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/mapmode/SplitMode.java	(revision 19634)
+++ trunk/src/org/openstreetmap/josm/actions/mapmode/SplitMode.java	(revision 19635)
@@ -115,5 +115,4 @@
         MapView mv = MainApplication.getMap().mapView;
         int mouseDownButton = e.getButton();
-        Point mousePos = e.getPoint();
 
         // return early
@@ -150,4 +149,5 @@
 
             if (applicableWays.size() > 1) {
+                Point mousePos = e.getPoint();
                 createPopup(n, applicableWays).show(mv, mousePos.x, mousePos.y);
             } else {
@@ -159,5 +159,5 @@
             }
         } else if (nearestPrimitive instanceof Way && !((Way) nearestPrimitive).isClosed()) {
-            addNodeAndSplit(mv, mousePos, (Way) nearestPrimitive);
+            addNodeAndSplit(mv, e.getPoint(), (Way) nearestPrimitive);
             if (updateUserFeedback(e)) {
                 MainApplication.getMap().mapView.repaint();
Index: trunk/src/org/openstreetmap/josm/data/gpx/GpxImageCorrelation.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/gpx/GpxImageCorrelation.java	(revision 19634)
+++ trunk/src/org/openstreetmap/josm/data/gpx/GpxImageCorrelation.java	(revision 19635)
@@ -37,6 +37,4 @@
      */
     public static int matchGpxTrack(List<? extends GpxImageEntry> images, GpxData selectedGpx, GpxImageCorrelationSettings settings) {
-        int ret = 0;
-
         if (Logging.isDebugEnabled()) {
             Logging.debug("Correlating {0} images to {1} GPX track segments using {2}",
@@ -82,4 +80,6 @@
         long prevWpTime = 0;
         WayPoint prevWp = null;
+
+        int ret = 0;
 
         for (List<List<WayPoint>> segs : loadTracks(selectedGpx.getTracks())) {
Index: trunk/src/org/openstreetmap/josm/data/imagery/vectortile/mapbox/MapboxVectorCachedTileLoader.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/imagery/vectortile/mapbox/MapboxVectorCachedTileLoader.java	(revision 19634)
+++ trunk/src/org/openstreetmap/josm/data/imagery/vectortile/mapbox/MapboxVectorCachedTileLoader.java	(revision 19635)
@@ -62,5 +62,4 @@
     }
 
-    @SuppressWarnings("PMD.CloseResource") /* closed in shutdown() */
     @Override
     public void cancelOutstandingTasks() {
