Index: trunk/src/JOSM.java
===================================================================
--- trunk/src/JOSM.java	(revision 7505)
+++ trunk/src/JOSM.java	(revision 7509)
@@ -4,5 +4,5 @@
 /**
  * JOSM main class (entry point of the application).<br/>
- * 
+ *
  * The name of the main class will be the name of the application menu on OS X.
  * so instead of exposing "org.openstreetmap.josm.gui.MainApplication" to the
@@ -10,5 +10,5 @@
  * An alternative would be to set the name in the plist file---but JOSM usually
  * is not delivered as an OS X Application Bundle, so we have no plist file.
- * 
+ *
  * @since 1023
  */
Index: trunk/src/org/openstreetmap/josm/actions/AddImageryLayerAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/AddImageryLayerAction.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/actions/AddImageryLayerAction.java	(revision 7509)
@@ -31,5 +31,5 @@
 
 /**
- * Action displayed in imagery menu to add a new imagery layer. 
+ * Action displayed in imagery menu to add a new imagery layer.
  * @since 3715
  */
Index: trunk/src/org/openstreetmap/josm/actions/AlignInCircleAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/AlignInCircleAction.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/actions/AlignInCircleAction.java	(revision 7509)
@@ -101,5 +101,5 @@
     }
 
-    
+
     /**
      * Perform AlignInCircle action.
@@ -137,5 +137,5 @@
         EastNorth center = null;
         double radius = 0;
-        
+
         for (OsmPrimitive osm : sel) {
             if (osm instanceof Node) {
@@ -163,5 +163,5 @@
             ArrayList<Node> inside = new ArrayList<>();
             ArrayList<Node> outside = new ArrayList<>();
-            
+
             for(Node n: nodes) {
                 boolean isInside = false;
@@ -177,5 +177,5 @@
                     outside.add(n);
             }
-            
+
             if(outside.size() == 1 && inside.isEmpty()) {
                 center = outside.get(0).getEastNorth();
@@ -190,5 +190,5 @@
                 radius = distance(en0, en1) / 2;
             }
-            
+
             fixNodes.addAll(inside);
             fixNodes.addAll(collectNodesWithExternReferers(ways));
@@ -227,5 +227,5 @@
             }
         }
-    
+
         // Now calculate the average distance to each node from the
         // center. This method is ok as long as distances are short
@@ -243,5 +243,5 @@
 
         // Move each node to that distance from the center.
-        // Nodes that are not "fix" will be adjust making regular arcs. 
+        // Nodes that are not "fix" will be adjust making regular arcs.
         int nodeCount = nodes.size();
         // Search first fixed node
@@ -276,5 +276,5 @@
             i = j; // Update start point for next iteration
         }
-        
+
         Main.main.undoRedo.add(new SequenceCommand(tr("Align Nodes in Circle"), cmds));
         Main.map.repaint();
@@ -294,5 +294,5 @@
         return withReferrers;
     }
-    
+
     /**
      * Assuming all ways can be joined into polygon, create an ordered list of node.
@@ -360,5 +360,5 @@
         return true;
     }
-    
+
     @Override
     protected void updateEnabledState() {
Index: trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/actions/CombineWayAction.java	(revision 7509)
@@ -260,5 +260,5 @@
         private final Node a;
         private final Node b;
-        
+
         /**
          * Constructs a new {@code NodePair}.
@@ -351,5 +351,5 @@
             return result;
         }
-        
+
         @Override
         public boolean equals(Object obj) {
Index: trunk/src/org/openstreetmap/josm/actions/DownloadAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/DownloadAction.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/actions/DownloadAction.java	(revision 7509)
@@ -26,5 +26,5 @@
  */
 public class DownloadAction extends JosmAction {
-    
+
     /**
      * Constructs a new {@code DownloadAction}.
Index: trunk/src/org/openstreetmap/josm/actions/MergeLayerAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/MergeLayerAction.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/actions/MergeLayerAction.java	(revision 7509)
@@ -20,5 +20,5 @@
 
 /**
- * Action that merges two or more OSM data layers. 
+ * Action that merges two or more OSM data layers.
  * @since 1890
  */
Index: trunk/src/org/openstreetmap/josm/actions/MergeNodesAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/MergeNodesAction.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/actions/MergeNodesAction.java	(revision 7509)
@@ -50,5 +50,5 @@
  * The "surviving" node will be moved to that location if it is
  * different from the last selected node.
- * 
+ *
  * @since 422
  */
Index: trunk/src/org/openstreetmap/josm/actions/SessionSaveAsAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/SessionSaveAsAction.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/actions/SessionSaveAsAction.java	(revision 7509)
@@ -123,5 +123,5 @@
             layersOut.add(layer);
         }
-        
+
         int active = -1;
         Layer activeLayer = Main.map.mapView.getActiveLayer();
Index: trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java	(revision 7509)
@@ -38,5 +38,5 @@
  */
 public class SimplifyWayAction extends JosmAction {
-    
+
     /**
      * Constructs a new {@code SimplifyWayAction}.
Index: trunk/src/org/openstreetmap/josm/actions/UnJoinNodeWayAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/UnJoinNodeWayAction.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/actions/UnJoinNodeWayAction.java	(revision 7509)
@@ -27,5 +27,5 @@
  */
 public class UnJoinNodeWayAction extends JosmAction {
-    
+
     /**
      * Constructs a new {@code UnJoinNodeWayAction}.
Index: trunk/src/org/openstreetmap/josm/actions/ViewportFollowToggleAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/ViewportFollowToggleAction.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/actions/ViewportFollowToggleAction.java	(revision 7509)
@@ -16,7 +16,7 @@
  */
 public class ViewportFollowToggleAction extends ToggleAction {
-    
+
     /**
-     * Constructs a new {@code ViewportFollowToggleAction}. 
+     * Constructs a new {@code ViewportFollowToggleAction}.
      */
     public ViewportFollowToggleAction() {
Index: trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java	(revision 7509)
@@ -155,7 +155,7 @@
                             String rangeA2 = rangeA[1].trim();
                             // if min timestap is empty: use lowest possible date
-                            long minDate = DateUtils.fromString(rangeA1.isEmpty() ? "1980" : rangeA1).getTime(); 
+                            long minDate = DateUtils.fromString(rangeA1.isEmpty() ? "1980" : rangeA1).getTime();
                             // if max timestamp is empty: use "now"
-                            long maxDate = rangeA2.isEmpty() ? System.currentTimeMillis() : DateUtils.fromString(rangeA2).getTime(); 
+                            long maxDate = rangeA2.isEmpty() ? System.currentTimeMillis() : DateUtils.fromString(rangeA2).getTime();
                             return new TimestampRange(minDate, maxDate);
                         } else {
Index: trunk/src/org/openstreetmap/josm/actions/upload/ValidateUploadHook.java
===================================================================
--- trunk/src/org/openstreetmap/josm/actions/upload/ValidateUploadHook.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/actions/upload/ValidateUploadHook.java	(revision 7509)
@@ -38,5 +38,5 @@
  */
 public class ValidateUploadHook implements UploadHook {
-    
+
     /**
      * Validate the modified data before uploading
Index: trunk/src/org/openstreetmap/josm/command/ChangePropertyKeyCommand.java
===================================================================
--- trunk/src/org/openstreetmap/josm/command/ChangePropertyKeyCommand.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/command/ChangePropertyKeyCommand.java	(revision 7509)
@@ -45,5 +45,5 @@
         this(Collections.singleton(object), key, newKey);
     }
-    
+
     /**
      * Constructs a new {@code ChangePropertyKeyCommand}.
Index: trunk/src/org/openstreetmap/josm/command/conflict/DeletedStateConflictResolveCommand.java
===================================================================
--- trunk/src/org/openstreetmap/josm/command/conflict/DeletedStateConflictResolveCommand.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/command/conflict/DeletedStateConflictResolveCommand.java	(revision 7509)
@@ -71,5 +71,5 @@
         return true;
     }
-    
+
     private void deleteMy() {
         Set<OsmPrimitive> referrers = getLayer().data.unlinkReferencesToPrimitive(conflict.getMy());
Index: trunk/src/org/openstreetmap/josm/data/conflict/ConflictCollection.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/conflict/ConflictCollection.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/data/conflict/ConflictCollection.java	(revision 7509)
@@ -45,5 +45,5 @@
 
         private final Class<? extends OsmPrimitive> c;
-        
+
         public FilterPredicate(Class<? extends OsmPrimitive> c) {
             this.c = c;
@@ -55,5 +55,5 @@
         }
     }
-    
+
     private static final FilterPredicate NODE_FILTER_PREDICATE = new FilterPredicate(Node.class);
     private static final FilterPredicate WAY_FILTER_PREDICATE = new FilterPredicate(Way.class);
Index: trunk/src/org/openstreetmap/josm/data/coor/Coordinate.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/coor/Coordinate.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/data/coor/Coordinate.java	(revision 7509)
@@ -43,5 +43,5 @@
     /**
      * Returns the euclidean distance from this {@code Coordinate} to a specified {@code Coordinate}.
-     * 
+     *
      * @param coor the specified coordinate to be measured against this {@code Coordinate}
      * @return the euclidean distance from this {@code Coordinate} to a specified {@code Coordinate}
@@ -51,8 +51,8 @@
         return distance(coor.x, coor.y);
     }
-   
+
     /**
      * Returns the euclidean distance from this {@code Coordinate} to a specified coordinate.
-     * 
+     *
      * @param px the X coordinate of the specified point to be measured against this {@code Coordinate}
      * @param py the Y coordinate of the specified point to be measured against this {@code Coordinate}
@@ -65,8 +65,8 @@
         return Math.sqrt(dx*dx + dy*dy);
     }
-   
+
     /**
      * Returns the square of the euclidean distance from this {@code Coordinate} to a specified {@code Coordinate}.
-     * 
+     *
      * @param coor the specified coordinate to be measured against this {@code Coordinate}
      * @return the square of the euclidean distance from this {@code Coordinate} to a specified {@code Coordinate}
@@ -79,5 +79,5 @@
     /**
      * Returns the square of euclidean distance from this {@code Coordinate} to a specified coordinate.
-     * 
+     *
      * @param px the X coordinate of the specified point to be measured against this {@code Coordinate}
      * @param py the Y coordinate of the specified point to be measured against this {@code Coordinate}
@@ -93,5 +93,5 @@
     /**
      * Converts to single point BBox.
-     * 
+     *
      * @return single point BBox defined by this coordinate.
      * @since 6203
@@ -100,9 +100,9 @@
         return new BBox(x, y);
     }
-    
+
     /**
      * Creates bbox around this coordinate. Coordinate defines
      * center of bbox, its edge will be 2*r.
-     * 
+     *
      * @param r size
      * @return BBox around this coordinate
Index: trunk/src/org/openstreetmap/josm/data/coor/EastNorth.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/coor/EastNorth.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/data/coor/EastNorth.java	(revision 7509)
@@ -46,5 +46,5 @@
     /**
      * Returns the euclidean distance from this {@code EastNorth} to a specified {@code EastNorth}.
-     * 
+     *
      * @param en the specified coordinate to be measured against this {@code EastNorth}
      * @return the euclidean distance from this {@code EastNorth} to a specified {@code EastNorth}
@@ -57,5 +57,5 @@
     /**
      * Returns the square of the euclidean distance from this {@code EastNorth} to a specified {@code EastNorth}.
-     * 
+     *
      * @param en the specified coordinate to be measured against this {@code EastNorth}
      * @return the square of the euclidean distance from this {@code EastNorth} to a specified {@code EastNorth}
@@ -68,5 +68,5 @@
     /**
      * Counts length (distance from [0,0]) of this.
-     * 
+     *
      * @return length of this
      */
Index: trunk/src/org/openstreetmap/josm/data/coor/QuadTiling.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/coor/QuadTiling.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/data/coor/QuadTiling.java	(revision 7509)
@@ -3,9 +3,9 @@
 
 public final class QuadTiling {
-    
+
     private QuadTiling() {
         // Hide default constructor for utils classes
     }
-    
+
     public static final int NR_LEVELS = 24;
     public static final double WORLD_PARTS = (1 << NR_LEVELS);
@@ -47,5 +47,5 @@
         return new LatLon(y, x);
     }
-    
+
     static long xy2tile(long x, long y) {
         long tile = 0;
@@ -61,9 +61,9 @@
         return tile;
     }
-    
+
     static long coorToTile(LatLon coor) {
         return quadTile(coor);
     }
-    
+
     static long lon2x(double lon) {
         long ret = (long)((lon + 180.0) * WORLD_PARTS / 360.0);
@@ -73,5 +73,5 @@
         return ret;
     }
-    
+
     static long lat2y(double lat) {
         long ret = (long)((lat + 90.0) * WORLD_PARTS / 180.0);
@@ -81,9 +81,9 @@
         return ret;
     }
-    
+
     public static long quadTile(LatLon coor) {
         return xy2tile(lon2x(coor.lon()), lat2y(coor.lat()));
     }
-    
+
     public static int index(int level, long quad) {
         long mask = 0x00000003;
@@ -91,5 +91,5 @@
         return (int)(mask & (quad >> total_shift));
     }
-    
+
     /**
      * Returns quad tiling index for given coordinates and level.
@@ -102,5 +102,5 @@
      */
     public static int index(LatLon coor, int level) {
-        // The nodes that don't return coordinates will all get stuck in a single tile. 
+        // The nodes that don't return coordinates will all get stuck in a single tile.
         // Hopefully there are not too many of them
         if (coor == null)
Index: trunk/src/org/openstreetmap/josm/data/gpx/GpxData.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/gpx/GpxData.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/data/gpx/GpxData.java	(revision 7509)
@@ -129,5 +129,5 @@
         return result;
     }
-    
+
     /**
      * returns minimum and maximum timestamps in the track
Index: trunk/src/org/openstreetmap/josm/data/gpx/GpxTrack.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/gpx/GpxTrack.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/data/gpx/GpxTrack.java	(revision 7509)
@@ -17,5 +17,5 @@
     Bounds getBounds();
     double length();
-    
+
     /**
      *
Index: trunk/src/org/openstreetmap/josm/data/imagery/Shape.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/imagery/Shape.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/data/imagery/Shape.java	(revision 7509)
@@ -107,5 +107,5 @@
         return true;
     }
-    
-    
+
+
 }
Index: trunk/src/org/openstreetmap/josm/data/notes/Note.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/notes/Note.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/data/notes/Note.java	(revision 7509)
@@ -33,5 +33,5 @@
     /** @return The unique OSM ID of this note */
     public long getId() {
-    	return id;
+        return id;
     }
 
Index: trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/data/osm/AbstractPrimitive.java	(revision 7509)
@@ -635,5 +635,5 @@
         return keys == null ? 0 : keys.length / 2;
     }
-    
+
     @Override
     public final Collection<String> keySet() {
Index: trunk/src/org/openstreetmap/josm/data/osm/BBox.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/osm/BBox.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/data/osm/BBox.java	(revision 7509)
@@ -18,5 +18,5 @@
     /**
      * Constructs a new {@code BBox} defined by a single point.
-     * 
+     *
      * @param x X coordinate
      * @param y Y coordinate
@@ -32,6 +32,6 @@
      * Constructs a new {@code BBox} defined by points <code>a</code> and <code>b</code>.
      * Result is minimal BBox containing both points.
-     * 
-     * @param a 
+     *
+     * @param a
      * @param b
      */
@@ -42,5 +42,5 @@
     /**
      * Constructs a new {@code BBox} from another one.
-     * 
+     *
      * @param copy the BBox to copy
      */
@@ -53,5 +53,5 @@
 
     public BBox(double a_x, double a_y, double b_x, double b_y)  {
-        
+
         if (a_x > b_x) {
             xmax = a_x;
@@ -61,5 +61,5 @@
             xmin = a_x;
         }
-        
+
         if (a_y > b_y) {
             ymax = a_y;
@@ -69,5 +69,5 @@
             ymin = a_y;
         }
-        
+
         sanity();
     }
@@ -260,5 +260,5 @@
         return idx1;
     }
-    
+
     public Rectangle2D toRectangle() {
         return new Rectangle2D.Double(xmin, ymin, xmax - xmin, ymax - ymin);
Index: trunk/src/org/openstreetmap/josm/data/osm/FilterWorker.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/osm/FilterWorker.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/data/osm/FilterWorker.java	(revision 7509)
@@ -13,9 +13,9 @@
  */
 public final class FilterWorker {
-    
+
     private FilterWorker() {
         // Hide default constructor for utils classes
     }
-    
+
     /**
      * Apply the filters to the primitives of the data set.
Index: trunk/src/org/openstreetmap/josm/data/osm/TigerUtils.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/osm/TigerUtils.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/data/osm/TigerUtils.java	(revision 7509)
@@ -12,5 +12,5 @@
  */
 public final class TigerUtils {
-    
+
     private TigerUtils() {
         // Hide default constructor for utils classes
Index: trunk/src/org/openstreetmap/josm/data/osm/Way.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/osm/Way.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/data/osm/Way.java	(revision 7509)
@@ -743,4 +743,4 @@
         }
     }
-    
+
 }
Index: trunk/src/org/openstreetmap/josm/data/osm/WaySegment.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/osm/WaySegment.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/data/osm/WaySegment.java	(revision 7509)
@@ -8,5 +8,5 @@
  */
 public final class WaySegment implements Comparable<WaySegment> {
-    
+
     /**
      * The way.
Index: trunk/src/org/openstreetmap/josm/data/osm/visitor/BoundingXYVisitor.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/osm/visitor/BoundingXYVisitor.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/data/osm/visitor/BoundingXYVisitor.java	(revision 7509)
@@ -128,21 +128,21 @@
      * to its beginning size. The larger the bounding box, the smaller the change,
      * down to the minimum of 1% enlargement.
-     * 
+     *
      * Warning: if the bounding box only contains a single node, no expansion takes
      * place because a node has no width/height. Use <code>enlargeToMinDegrees</code>
      * instead.
-     * 
+     *
      * Example: You specify enlargement to be up to 100%.
-     * 
+     *
      *          Bounding box is a small house: enlargement will be 95–100%, i.e.
      *          making enough space so that the house fits twice on the screen in
      *          each direction.
-     * 
+     *
      *          Bounding box is a large landuse, like a forest: Enlargement will
      *          be 1–10%, i.e. just add a little border around the landuse.
-     * 
+     *
      * If the bounding box has not been set (<code>min</code> or <code>max</code>
      * equal <code>null</code>) this method does not do anything.
-     * 
+     *
      * @param maxEnlargePercent
      */
@@ -165,11 +165,11 @@
      * the specified size in width and height. The value is ignored if the
      * bounding box is already larger than the specified amount.
-     * 
+     *
      * If the bounding box has not been set (<code>min</code> or <code>max</code>
      * equal <code>null</code>) this method does not do anything.
-     * 
+     *
      * If the bounding box contains objects and is to be enlarged, the objects
      * will be centered within the new bounding box.
-     * 
+     *
      * @param size minimum width and height in meter
      */
Index: trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java	(revision 7509)
@@ -247,5 +247,5 @@
      *
      * This bug has only been observed on Mac OS X, see #7841.
-     * 
+     *
      * After switch to Java 7, this test is a false positive on Mac OS X (see #10446),
      * i.e. it returns true, but the real rendering code does not require any special
@@ -1069,5 +1069,5 @@
 
         Rectangle bounds = g.getClipBounds();
-        
+
         Polygon poly = new Polygon();
         Point lastPoint = null;
@@ -1075,5 +1075,5 @@
         double pathLength = 0;
         long dx, dy;
-        
+
         // find half segments that are long enough to draw text on
         // (don't draw text over the cross hair in the center of each segment)
@@ -1081,5 +1081,5 @@
         List<Double> longHalfSegmentEnd = new ArrayList<>(); // end point of half segment (as length along the way)
         List<Double> longHalfsegmentQuality = new ArrayList<>(); // quality factor (off screen / partly on screen / fully on screen)
-        
+
         while (it.hasNext()) {
             Node n = it.next();
@@ -1104,5 +1104,5 @@
                     longHalfSegmentEnd.add(pathLength + segmentLength / 2);
                     longHalfsegmentQuality.add(q);
-                    
+
                     q = 0;
                     if (bounds != null) {
@@ -1121,10 +1121,10 @@
             lastPoint = p;
         }
-        
+
         if (rec.getWidth() > pathLength)
             return;
 
         double t1, t2;
-        
+
         if (!longHalfSegmentStart.isEmpty()) {
             if (way.getNodesCount() == 2) {
@@ -1134,5 +1134,5 @@
                 longHalfsegmentQuality.set(0, longHalfsegmentQuality.get(0) + 0.5);
             }
-            
+
             // find the long half segment that is closest to the center of the way
             // candidates with higher quality value are preferred
Index: trunk/src/org/openstreetmap/josm/data/projection/proj/Proj.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/projection/proj/Proj.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/data/projection/proj/Proj.java	(revision 7509)
@@ -23,5 +23,5 @@
  */
 public interface Proj {
-    
+
     /**
      * Replies a human readable name of this projection.
Index: trunk/src/org/openstreetmap/josm/data/validation/tests/DuplicateWay.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/validation/tests/DuplicateWay.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/data/validation/tests/DuplicateWay.java	(revision 7509)
@@ -41,5 +41,5 @@
         private final List<LatLon> coor;
         private final Map<String, String> keys;
-        
+
         public WayPair(List<LatLon> coor, Map<String, String> keys) {
             this.coor = coor;
Index: trunk/src/org/openstreetmap/josm/data/validation/tests/UnclosedWays.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/validation/tests/UnclosedWays.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/data/validation/tests/UnclosedWays.java	(revision 7509)
@@ -50,5 +50,5 @@
         /** The boolean indicating if special values must be ignored or considered only */
         private final boolean ignore;
-        
+
         /**
          * Constructs a new {@code UnclosedWaysCheck}.
@@ -60,5 +60,5 @@
             this(code, key, engMessage, Collections.<String>emptyList());
         }
-        
+
         /**
          * Constructs a new {@code UnclosedWaysCheck}.
@@ -71,5 +71,5 @@
             this(code, key, engMessage, ignoredValues, true);
         }
-        
+
         /**
          * Constructs a new {@code UnclosedWaysCheck}.
@@ -87,5 +87,5 @@
             this.ignore = ignore;
         }
-        
+
         /**
          * Returns the test error of the given way, if any.
@@ -106,5 +106,5 @@
             return null;
         }
-        
+
         protected boolean isValueErroneous(String value) {
             return value != null && ignore != specialValues.contains(value);
@@ -149,5 +149,5 @@
         new UnclosedWaysBooleanCheck(1130, "area",     marktr("area")),
     };
-    
+
     /**
      * Returns the set of checked OSM keys.
Index: trunk/src/org/openstreetmap/josm/data/validation/tests/UntaggedWay.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/validation/tests/UntaggedWay.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/data/validation/tests/UntaggedWay.java	(revision 7509)
@@ -25,5 +25,5 @@
  */
 public class UntaggedWay extends Test {
-    
+
     /** Empty way error */
     protected static final int EMPTY_WAY    = 301;
Index: trunk/src/org/openstreetmap/josm/gui/MapMover.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/MapMover.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/MapMover.java	(revision 7509)
@@ -45,5 +45,5 @@
                 if (mouse == null)
                     mouse = new Point((int)nc.getBounds().getCenterX(), (int)nc.getBounds().getCenterY());
-                MouseWheelEvent we = new MouseWheelEvent(nc, e.getID(), e.getWhen(), e.getModifiers(), mouse.x, mouse.y, 0, false, 
+                MouseWheelEvent we = new MouseWheelEvent(nc, e.getID(), e.getWhen(), e.getModifiers(), mouse.x, mouse.y, 0, false,
                         MouseWheelEvent.WHEEL_UNIT_SCROLL, 1, ",".equals(action) ? -1 : 1);
                 mouseWheelMoved(we);
@@ -153,5 +153,5 @@
         int offMask = MouseEvent.BUTTON1_DOWN_MASK | MouseEvent.BUTTON2_DOWN_MASK;
         int macMouseMask = MouseEvent.CTRL_DOWN_MASK | MouseEvent.BUTTON1_DOWN_MASK;
-        if (e.getButton() == MouseEvent.BUTTON3 && (e.getModifiersEx() & offMask) == 0 || 
+        if (e.getButton() == MouseEvent.BUTTON3 && (e.getModifiersEx() & offMask) == 0 ||
                 Main.isPlatformOsx() && e.getModifiersEx() == macMouseMask) {
             startMovement(e);
Index: trunk/src/org/openstreetmap/josm/gui/NotificationManager.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/NotificationManager.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/NotificationManager.java	(revision 7509)
@@ -105,5 +105,5 @@
         currentNotification = queue.poll();
         if (currentNotification == null) return;
-        
+
         currentNotificationPanel = new NotificationPanel(currentNotification);
         currentNotificationPanel.validate();
@@ -309,5 +309,5 @@
                 putValue(SMALL_ICON, ImageProvider.get("misc", "grey_x"));
             }
-            
+
             @Override
             public void actionPerformed(ActionEvent e) {
Index: trunk/src/org/openstreetmap/josm/gui/bbox/SlippyMapControler.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/bbox/SlippyMapControler.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/bbox/SlippyMapControler.java	(revision 7509)
@@ -45,5 +45,5 @@
     /** The speed increase per timer interval when a cursor button is clicked */
     private static final double ACCELERATION = 0.10;
-    
+
     private static final int MAC_MOUSE_BUTTON3_MASK = MouseEvent.CTRL_DOWN_MASK | MouseEvent.BUTTON1_DOWN_MASK;
 
Index: trunk/src/org/openstreetmap/josm/gui/conflict/pair/ListMerger.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/conflict/pair/ListMerger.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/conflict/pair/ListMerger.java	(revision 7509)
@@ -416,5 +416,5 @@
      */
     abstract class CopyAction extends AbstractAction implements ListSelectionListener {
-        
+
         protected CopyAction(String icon_name, String action_name, String short_description) {
             ImageIcon icon = ImageProvider.get("dialogs/conflict", icon_name+".png");
@@ -427,5 +427,5 @@
         }
     }
-    
+
     /**
      * Action for copying selected nodes in the list of my nodes to the list of merged
Index: trunk/src/org/openstreetmap/josm/gui/conflict/tags/RelationMemberConflictDecisionRenderer.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/conflict/tags/RelationMemberConflictDecisionRenderer.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/conflict/tags/RelationMemberConflictDecisionRenderer.java	(revision 7509)
@@ -64,5 +64,5 @@
     @Override
     public Component getListCellRendererComponent(
-            JList<? extends RelationMemberConflictDecisionType> list, 
+            JList<? extends RelationMemberConflictDecisionType> list,
             RelationMemberConflictDecisionType decision, int index, boolean isSelected,
             boolean cellHasFocus) {
Index: trunk/src/org/openstreetmap/josm/gui/conflict/tags/RelationMemberConflictResolverColumnModel.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/conflict/tags/RelationMemberConflictResolverColumnModel.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/conflict/tags/RelationMemberConflictResolverColumnModel.java	(revision 7509)
@@ -19,5 +19,5 @@
 
     private final DefaultTableCellRenderer defaultTableCellRenderer = new DefaultTableCellRenderer();
-    
+
     private final OsmPrimitivRenderer primitiveRenderer = new OsmPrimitivRenderer() {
         @Override
@@ -28,5 +28,5 @@
         }
     };
-    
+
     private final TableCellRenderer tableRenderer = new TableCellRenderer() {
         @Override
@@ -37,8 +37,8 @@
         }
     };
-    
+
     private static Component setColors(Component comp, JTable table, boolean isSelected, int row) {
         RelationMemberConflictResolverModel model = (RelationMemberConflictResolverModel) table.getModel();
-        
+
         if (!isSelected && comp != null) {
             switch (model.getDecision(row).getDecision()) {
@@ -59,7 +59,7 @@
         return comp;
     }
-    
+
     protected final void createColumns() {
-        
+
         AutoCompletingTextField roleEditor = new AutoCompletingTextField();
         RelationMemberConflictDecisionRenderer decisionRenderer = new RelationMemberConflictDecisionRenderer();
@@ -105,5 +105,5 @@
         col.setPreferredWidth(100);
         addColumn(col);
-        
+
         // column 4 - New Way
         col = new TableColumn(4);
Index: trunk/src/org/openstreetmap/josm/gui/conflict/tags/TagConflictResolverModel.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/conflict/tags/TagConflictResolverModel.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/conflict/tags/TagConflictResolverModel.java	(revision 7509)
@@ -137,5 +137,5 @@
         rebuild();
     }
-    
+
     /**
      * Returns the OSM key at the given row.
@@ -270,5 +270,5 @@
         rebuild();
     }
-    
+
     /**
      * Returns the set of keys in conflict.
Index: trunk/src/org/openstreetmap/josm/gui/dialogs/LatLonDialog.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/dialogs/LatLonDialog.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/dialogs/LatLonDialog.java	(revision 7509)
@@ -87,5 +87,5 @@
                         "</ul>" +
                         "Symbols <tt>&deg;</tt>, <tt>&#39;</tt>, <tt>&prime;</tt>, <tt>&quot;</tt>, <tt>&Prime;</tt> are optional.<br/><br/>" +
-                        "Some examples:<ul>{0}</ul>", 
+                        "Some examples:<ul>{0}</ul>",
                         "<li>49.29918&deg; 19.24788&deg;</li>" +
                         "<li>N 49.29918 E 19.24788</li>" +
Index: trunk/src/org/openstreetmap/josm/gui/dialogs/LayerListPopup.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/dialogs/LayerListPopup.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/dialogs/LayerListPopup.java	(revision 7509)
@@ -33,5 +33,5 @@
     public static final class InfoAction extends AbstractAction {
         private final Layer layer;
-        
+
         /**
          * Constructs a new {@code InfoAction} for the given layer.
@@ -43,5 +43,5 @@
             this.layer = layer;
         }
-        
+
         @Override
         public void actionPerformed(ActionEvent e) {
Index: trunk/src/org/openstreetmap/josm/gui/dialogs/OsmIdSelectionDialog.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/dialogs/OsmIdSelectionDialog.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/dialogs/OsmIdSelectionDialog.java	(revision 7509)
@@ -221,6 +221,6 @@
                 cbType.setSelectedIndex(3);
             }
-        } else if (buf.matches("[\\d,v\\s]+")) { 
-            //fallback solution for id1,id2,id3 format 
+        } else if (buf.matches("[\\d,v\\s]+")) {
+            //fallback solution for id1,id2,id3 format
             tfId.tryToPasteFrom(buf);
         }
Index: trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetCacheTableColumnModel.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetCacheTableColumnModel.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetCacheTableColumnModel.java	(revision 7509)
@@ -14,5 +14,5 @@
 
     private final ChangesetCacheTableCellRenderer renderer = new ChangesetCacheTableCellRenderer();
-    
+
     protected void createColumn(int modelIndex, String headerValue, int preferredWidth, int width) {
         TableColumn col = new TableColumn(modelIndex);
@@ -26,5 +26,5 @@
         addColumn(col);
     }
-    
+
     protected void createColumns() {
 
Index: trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetContentPanel.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetContentPanel.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetContentPanel.java	(revision 7509)
@@ -172,5 +172,5 @@
         setCurrentChangeset(cs);
     }
-    
+
     private final void alertNoPrimitivesTo(Collection<HistoryOsmPrimitive> primitives, String title, String helpTopic) {
         HelpAwareOptionPane.showOptionDialog(
@@ -235,5 +235,5 @@
 
     class ShowHistoryAction extends AbstractAction implements ListSelectionListener {
-        
+
         private final class ShowHistoryTask implements Runnable {
             private final Collection<HistoryOsmPrimitive> primitives;
@@ -341,5 +341,5 @@
             }
             if (target.isEmpty()) {
-                alertNoPrimitivesTo(selected, tr("Nothing to select"), 
+                alertNoPrimitivesTo(selected, tr("Nothing to select"),
                         HelpUtil.ht("/Dialog/ChangesetCacheManager#NothingToSelectInLayer"));
                 return;
@@ -391,5 +391,5 @@
             }
             if (target.isEmpty()) {
-                alertNoPrimitivesTo(selected, tr("Nothing to zoom to"), 
+                alertNoPrimitivesTo(selected, tr("Nothing to zoom to"),
                         HelpUtil.ht("/Dialog/ChangesetCacheManager#NothingToZoomTo"));
                 return;
Index: trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/RelationSortUtils.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/RelationSortUtils.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/dialogs/relation/sort/RelationSortUtils.java	(revision 7509)
@@ -16,5 +16,5 @@
         // Hide default constructor for utils classes
     }
-    
+
     /**
      * determine, if the way i is a roundabout and if yes, what type of roundabout
Index: trunk/src/org/openstreetmap/josm/gui/download/SlippyMapChooser.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/download/SlippyMapChooser.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/download/SlippyMapChooser.java	(revision 7509)
@@ -80,5 +80,5 @@
         }
     }
-    
+
     /**
      * Refreshes the tile sources
Index: trunk/src/org/openstreetmap/josm/gui/help/HelpUtil.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/help/HelpUtil.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/help/HelpUtil.java	(revision 7509)
@@ -25,5 +25,5 @@
         // Hide default constructor for utils classes
     }
-    
+
     /**
      * Replies the base wiki URL.
Index: trunk/src/org/openstreetmap/josm/gui/history/TwoColumnDiff.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/history/TwoColumnDiff.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/history/TwoColumnDiff.java	(revision 7509)
@@ -63,5 +63,5 @@
         diff();
     }
-    
+
     private void diff() {
         Diff diff = new Diff(reference, current);
Index: trunk/src/org/openstreetmap/josm/gui/layer/JumpToMarkerActions.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/layer/JumpToMarkerActions.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/layer/JumpToMarkerActions.java	(revision 7509)
@@ -22,5 +22,5 @@
         void jumpToPreviousMarker();
     }
-    
+
     private JumpToMarkerActions() {
         // Hide default constructor for utils classes
@@ -47,5 +47,5 @@
         private final Shortcut multikeyShortcut;
         private WeakReference<Layer> lastLayer;
-        
+
         public JumpToMarker(JumpToMarkerLayer layer, Shortcut shortcut) {
             this.layer = (Layer) layer;
@@ -53,5 +53,5 @@
             this.multikeyShortcut.setAccelerator(this);
         }
-        
+
         protected final void setLastLayer(Layer l) {
             lastLayer = new WeakReference<>(l);
@@ -89,5 +89,5 @@
             return LayerListDialog.getLayerInfoByClass(JumpToMarkerLayer.class);
         }
-        
+
         @Override
         public MultikeyInfo getLastMultikeyAction() {
Index: trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java	(revision 7509)
@@ -239,13 +239,13 @@
         return autoDownloadEnabled;
     }
-    
+
     public void setAutoDownload(boolean val) {
         autoDownloadEnabled = val;
     }
-    
+
     public boolean isAutoResolution() {
         return autoResolutionEnabled;
     }
-    
+
     public void setAutoResolution(boolean val) {
         autoResolutionEnabled = val;
Index: trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageEntry.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageEntry.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageEntry.java	(revision 7509)
@@ -81,5 +81,5 @@
      */
     public final boolean hasGpsTime() {
-        return (tmp != null && tmp.gpsTime != null) || gpsTime != null; 
+        return (tmp != null && tmp.gpsTime != null) || gpsTime != null;
     }
 
@@ -96,5 +96,5 @@
         return getDefensiveDate(exifTime);
     }
-    
+
     /**
      * Convenient way to determine if this entry has a EXIF time, without the cost of building a defensive copy.
@@ -103,7 +103,7 @@
      */
     public final boolean hasExifTime() {
-        return exifTime != null; 
-    }
-    
+        return exifTime != null;
+    }
+
     /**
      * Returns the EXIF GPS time.
@@ -114,5 +114,5 @@
         return getDefensiveDate(exifGpsTime);
     }
-    
+
     /**
      * Convenient way to determine if this entry has a EXIF GPS time, without the cost of building a defensive copy.
@@ -121,7 +121,7 @@
      */
     public final boolean hasExifGpsTime() {
-        return exifGpsTime != null; 
-    }
-    
+        return exifGpsTime != null;
+    }
+
     private static Date getDefensiveDate(Date date) {
         if (date == null)
@@ -129,5 +129,5 @@
         return new Date(date.getTime());
     }
-    
+
     public LatLon getExifCoor() {
         return exifCoor;
@@ -165,5 +165,5 @@
         this.exifTime = getDefensiveDate(exifTime);
     }
-    
+
     /**
      * Sets the EXIF GPS time.
@@ -174,5 +174,5 @@
         this.exifGpsTime = getDefensiveDate(exifGpsTime);
     }
-    
+
     public void setGpsTime(Date gpsTime) {
         this.gpsTime = getDefensiveDate(gpsTime);
@@ -250,5 +250,5 @@
 
     /**
-     * Indicates that the image has new GPS data. 
+     * Indicates that the image has new GPS data.
      * That flag is used e.g. by the photo_geotagging plugin to decide for which image
      * file the EXIF GPS data needs to be (re-)written.
@@ -257,5 +257,5 @@
     public void flagNewGpsData() {
         isNewGpsData = true;
-        // We need to set the GPS time to tell the system (mainly the photo_geotagging plug-in) 
+        // We need to set the GPS time to tell the system (mainly the photo_geotagging plug-in)
         // that the GPS data has changed. Check for existing GPS time and take EXIF time otherwise.
         // This can be removed once isNewGpsData is used instead of the GPS time.
Index: trunk/src/org/openstreetmap/josm/gui/layer/gpx/ImportAudioAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/layer/gpx/ImportAudioAction.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/layer/gpx/ImportAudioAction.java	(revision 7509)
@@ -131,5 +131,5 @@
         boolean timedMarkersOmitted = false;
         boolean untimedMarkersOmitted = false;
-        double snapDistance = Main.pref.getDouble("marker.audiofromuntimedwaypoints.distance", 1.0e-3); 
+        double snapDistance = Main.pref.getDouble("marker.audiofromuntimedwaypoints.distance", 1.0e-3);
         // about 25 m
         WayPoint wayPointFromTimeStamp = null;
Index: trunk/src/org/openstreetmap/josm/gui/mappaint/Cascade.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/mappaint/Cascade.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/mappaint/Cascade.java	(revision 7509)
@@ -112,5 +112,5 @@
                     return (T) String.format("#%06x%02x", ((Color) o).getRGB() & 0x00ffffff, alpha);
                 return (T) String.format("#%06x", ((Color) o).getRGB() & 0x00ffffff);
-                
+
             }
 
@@ -151,5 +151,5 @@
         if (o instanceof float[])
             return ((float[]) o).length != 0;
-        
+
         return null;
     }
Index: trunk/src/org/openstreetmap/josm/gui/mappaint/Environment.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/mappaint/Environment.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/mappaint/Environment.java	(revision 7509)
@@ -28,5 +28,5 @@
      */
     public OsmPrimitive parent;
-    
+
     /**
      * The same for parent selector. Only one of the 2 fields (parent or child) is not null in any environment.
Index: trunk/src/org/openstreetmap/josm/gui/mappaint/StyleSetting.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/mappaint/StyleSetting.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/mappaint/StyleSetting.java	(revision 7509)
@@ -12,8 +12,8 @@
 /**
  * Setting to customize a MapPaint style.
- * 
- * Can be changed by the user in the right click menu of the mappaint style 
+ *
+ * Can be changed by the user in the right click menu of the mappaint style
  * dialog.
- * 
+ *
  * Defined in the MapCSS style, e.g.
  * <pre>
@@ -23,5 +23,5 @@
  *   default: true;
  * }
- * 
+ *
  * way[highway][setting("highway_casing")] {
  *   casing-width: 2;
@@ -33,7 +33,7 @@
 
     void addMenuEntry(JMenu menu);
-    
+
     Object getValue();
-    
+
     /**
      * A style setting for boolean value (yes / no).
@@ -71,5 +71,5 @@
             menu.add(item);
         }
-        
+
         public static BooleanStyleSetting create(Cascade c, StyleSource parentStyle, String key) {
             String label = c.get("label", null, String.class);
@@ -83,5 +83,5 @@
                 return null;
             }
-            String prefKey = parentStyle.url + ":boolean:" + key; 
+            String prefKey = parentStyle.url + ":boolean:" + key;
             return new BooleanStyleSetting(parentStyle, prefKey, label, def);
         }
@@ -93,5 +93,5 @@
             return Boolean.parseBoolean(val);
         }
-        
+
     }
 }
Index: trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/CSSColors.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/CSSColors.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/CSSColors.java	(revision 7509)
@@ -171,5 +171,5 @@
         return CSS_COLORS.get(key);
     }
-    
+
     private CSSColors() {
         // Hide default constructor for utils classes
Index: trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java	(revision 7509)
@@ -171,5 +171,5 @@
             return Arrays.asList(args);
         }
-        
+
         /**
          * Returns the number of elements in a list.
@@ -234,5 +234,5 @@
             }
         }
-        
+
         public static Color rgba(float r, float g, float b, float alpha) {
             try {
@@ -606,5 +606,5 @@
             return cs.getValue();
         }
-        
+
         /**
          * check if there is right-hand traffic at the current location
@@ -618,5 +618,5 @@
             return RightAndLefthandTraffic.isRightHandTraffic(env.osm.getBBox().getCenter());
         }
-        
+
         /**
          * Prints the object to the command line (for debugging purpose).
@@ -641,5 +641,5 @@
             return o;
         }
-        
+
         /**
          * Get the number of tags for the current primitive.
@@ -650,5 +650,5 @@
             return env.osm.getNumKeys();
         }
-        
+
         /**
          * Get value of a setting.
@@ -784,5 +784,5 @@
      * Separate implementation to support overloading for different
      * argument types.
-     * 
+     *
      * The use for calculating the length of a list is deprecated, use
      * {@link Functions#count(java.util.List)} instead (see #10061).
Index: trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSStyleSource.java	(revision 7509)
@@ -72,9 +72,9 @@
     private String css = null;
     private ZipFile zipFile;
-    
+
     /**
      * This lock prevents concurrent execution of {@link MapCSSRuleIndex#clear() } /
      * {@link MapCSSRuleIndex#initIndex()} and {@link MapCSSRuleIndex#getRuleCandidates }.
-     * 
+     *
      * For efficiency reasons, these methods are synchronized higher up the
      * stack trace.
@@ -84,14 +84,14 @@
     /**
      * A collection of {@link MapCSSRule}s, that are indexed by tag key and value.
-     * 
+     *
      * Speeds up the process of finding all rules that match a certain primitive.
-     * 
+     *
      * Rules with a {@link SimpleKeyValueCondition} [key=value] are indexed by
      * key and value in a HashMap. Now you only need to loop the tags of a
      * primitive to retrieve the possibly matching rules.
-     * 
+     *
      * Rules with no SimpleKeyValueCondition in the selector have to be
      * checked separately.
-     * 
+     *
      * The order of rules gets mixed up by this and needs to be sorted later.
      */
@@ -103,5 +103,5 @@
         /* rules without SimpleKeyValueCondition */
         public final Set<MapCSSRule> remaining = new HashSet<>();
-        
+
         public void add(MapCSSRule rule) {
             rules.add(rule);
@@ -110,5 +110,5 @@
         /**
          * Initialize the index.
-         * 
+         *
          * You must own the write lock of STYLE_SOURCE_LOCK when calling this method.
          */
@@ -144,5 +144,5 @@
             }
         }
-        
+
         /**
          * Get a subset of all rules that might match the primitive.
@@ -150,5 +150,5 @@
          * @return a Collection of rules that filters out most of the rules
          * that cannot match, based on the tags of the primitive
-         * 
+         *
          * You must have a read lock of STYLE_SOURCE_LOCK when calling this method.
          */
@@ -166,9 +166,9 @@
             Collections.sort(ruleCandidates);
             return ruleCandidates;
-        } 
+        }
 
         /**
          * Clear the index.
-         * 
+         *
          * You must own the write lock STYLE_SOURCE_LOCK when calling this method.
          */
@@ -298,5 +298,5 @@
         }
     }
-    
+
     @Override
     public InputStream getSourceInputStream() throws IOException {
@@ -356,5 +356,5 @@
         }
     }
-    
+
     private void loadSettings() {
         settings.clear();
@@ -448,5 +448,5 @@
             }
         }
-        
+
         // the declaration indices are sorted, so it suffices to save the
         // last used index
Index: trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Selector.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Selector.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Selector.java	(revision 7509)
@@ -26,14 +26,14 @@
 /**
  * MapCSS selector.
- * 
+ *
  * A rule has two parts, a selector and a declaration block
  * e.g.
  * <pre>
- * way[highway=residential]    
- * { width: 10; color: blue; } 
+ * way[highway=residential]
+ * { width: 10; color: blue; }
  * </pre>
- * 
+ *
  * The selector decides, if the declaration block gets applied or not.
- * 
+ *
  * All implementing classes of Selector are immutable.
  */
@@ -49,18 +49,18 @@
      */
     boolean matches(Environment env);
-    
+
     String getSubpart();
 
     Range getRange();
-    
+
     /**
      * Create an "optimized" copy of this selector that omits the base check.
-     * 
+     *
      * For the style source, the list of rules is preprocessed, such that
      * there is a separate list of rules for nodes, ways, ...
-     * 
+     *
      * This means that the base check does not have to be performed
      * for each rule, but only once for each primitive.
-     * 
+     *
      * @return a selector that is identical to this object, except the base of the
      * "rightmost" selector is not checked
@@ -380,5 +380,5 @@
             return right.getRange();
         }
-        
+
         @Override
         public Selector optimizedBaseCheck() {
@@ -473,5 +473,5 @@
             super(base, zoom, conds, subpart);
         }
-        
+
         public boolean matchesConditions(Environment e) {
             return super.matches(e);
@@ -488,5 +488,5 @@
         }
     }
-    
+
     public static class OptimizedGeneralSelector extends AbstractSelector {
         public final String base;
@@ -510,5 +510,5 @@
             this.subpart = subpart;
         }
-        
+
         public OptimizedGeneralSelector(String base, Range range, List<Condition> conds, String subpart) {
             super(conds);
@@ -517,5 +517,5 @@
             this.subpart = subpart;
         }
-        
+
         public OptimizedGeneralSelector(GeneralSelector s) {
             this(s.base, s.range, s.conds, s.subpart);
@@ -572,5 +572,5 @@
             throw new UnsupportedOperationException();
         }
-        
+
         public static Range fromLevel(int a, int b) {
             if (a > b)
@@ -596,5 +596,5 @@
             return 2.0 * Math.PI * R / Math.pow(2.0, lvl) / 2.56;
         }
-        
+
         public static int scale2level(double scale) {
             if (scale < 0)
Index: trunk/src/org/openstreetmap/josm/gui/oauth/AuthorizationProcedureComboBox.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/oauth/AuthorizationProcedureComboBox.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/oauth/AuthorizationProcedureComboBox.java	(revision 7509)
@@ -80,5 +80,5 @@
 
         @Override
-        public Component getListCellRendererComponent(JList<? extends AuthorizationProcedure> list, AuthorizationProcedure procedure, 
+        public Component getListCellRendererComponent(JList<? extends AuthorizationProcedure> list, AuthorizationProcedure procedure,
                 int idx, boolean isSelected, boolean hasFocus) {
             renderColors(isSelected);
Index: trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceTabbedPane.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceTabbedPane.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceTabbedPane.java	(revision 7509)
@@ -69,5 +69,5 @@
  */
 public final class PreferenceTabbedPane extends JTabbedPane implements MouseWheelListener, ExpertModeChangeListener, ChangeListener {
-    
+
     /**
      * Allows PreferenceSettings to do validation of entered values when ok was pressed.
Index: trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java	(revision 7509)
@@ -1057,5 +1057,5 @@
         control.repaint();
     }
-    
+
     /**
      * The method to add custom button on toolbar like search or preset buttons
Index: trunk/src/org/openstreetmap/josm/gui/preferences/display/LanguagePreference.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/preferences/display/LanguagePreference.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/preferences/display/LanguagePreference.java	(revision 7509)
@@ -115,5 +115,5 @@
         }
         @Override
-        public Component getListCellRendererComponent(JList<? extends Locale> list, Locale l, 
+        public Component getListCellRendererComponent(JList<? extends Locale> list, Locale l,
                 int index, boolean isSelected, boolean cellHasFocus) {
             return dispatch.getListCellRendererComponent(list,
Index: trunk/src/org/openstreetmap/josm/gui/preferences/imagery/ImageryPreference.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/preferences/imagery/ImageryPreference.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/preferences/imagery/ImageryPreference.java	(revision 7509)
@@ -153,5 +153,5 @@
         Main.main.menu.imageryMenu.refreshOffsetMenu();
         OffsetBookmark.saveBookmarks();
-        
+
         DownloadDialog.getInstance().refreshTileSources();
 
Index: trunk/src/org/openstreetmap/josm/gui/preferences/map/BackupPreference.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/preferences/map/BackupPreference.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/preferences/map/BackupPreference.java	(revision 7509)
@@ -98,5 +98,5 @@
         notification.setToolTipText(tr("When saving, display a small notification"));
         panel.add(notification, GBC.eop());
-        
+
         ActionListener autosaveEnabled = new ActionListener(){
             @Override
Index: trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionChoice.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionChoice.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionChoice.java	(revision 7509)
@@ -63,5 +63,5 @@
     /**
      * Return all projection codes supported by this projection choice.
-     * @return all supported projection codes 
+     * @return all supported projection codes
      */
     String[] allCodes();
Index: trunk/src/org/openstreetmap/josm/gui/preferences/server/AuthenticationPreferencesPanel.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/preferences/server/AuthenticationPreferencesPanel.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/preferences/server/AuthenticationPreferencesPanel.java	(revision 7509)
@@ -93,5 +93,5 @@
         rbBasicAuthentication.setSelected(true);
         pnlAuthenticationParameteters.add(pnlBasicAuthPreferences, BorderLayout.CENTER);
-        
+
         //-- the panel for messages preferences
         gc.gridy = 2;
Index: trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorPanel.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorPanel.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorPanel.java	(revision 7509)
@@ -82,5 +82,5 @@
         btn.setMargin(new Insets(0,0,0,0));
         tagTable.addComponentNotStoppingCellEditing(btn);
-        
+
         // paste action
         pnl.add(btn = new JButton(tagTable.getPasteAction()));
Index: trunk/src/org/openstreetmap/josm/gui/tagging/TagTable.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/tagging/TagTable.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/tagging/TagTable.java	(revision 7509)
@@ -332,5 +332,5 @@
             Relation relation = new Relation();
             model.applyToPrimitive(relation);
-            
+
             String buf = Utils.getClipboardContent();
             if (buf == null || buf.isEmpty() || buf.matches(CopyAction.CLIPBOARD_REGEXP)) {
@@ -355,5 +355,5 @@
             }
         }
-        
+
         protected final void updateEnabledState() {
             setEnabled(TagTable.this.isEnabled());
@@ -365,5 +365,5 @@
         }
     }
-    
+
     /** the delete action */
     private RunnableAction deleteAction = null;
Index: trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSearchDialog.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSearchDialog.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPresetSearchDialog.java	(revision 7509)
@@ -20,5 +20,5 @@
 
     private static TaggingPresetSearchDialog instance;
-    
+
     /**
      * Returns the unique instance of {@code TaggingPresetSearchDialog}.
@@ -31,5 +31,5 @@
         return instance;
     }
-    
+
     private TaggingPresetSearchDialog() {
         super(Main.parent, tr("Presets"), new String[] {tr("Select"), tr("Cancel")});
Index: trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletingTextField.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletingTextField.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/tagging/ac/AutoCompletingTextField.java	(revision 7509)
@@ -159,5 +159,5 @@
     /**
      * Constructs a new {@code AutoCompletingTextField}.
-     * @param columns the number of columns to use to calculate the preferred width; 
+     * @param columns the number of columns to use to calculate the preferred width;
      * if columns is set to zero, the preferred width will be whatever naturally results from the component implementation
      */
Index: trunk/src/org/openstreetmap/josm/gui/widgets/ComboBoxHistory.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/widgets/ComboBoxHistory.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/widgets/ComboBoxHistory.java	(revision 7509)
@@ -23,5 +23,5 @@
         addElement(new AutoCompletionListItem(s));
     }
-    
+
     /**
      * Adds or moves an element to the top of the history
Index: trunk/src/org/openstreetmap/josm/gui/widgets/QuadStateCheckBox.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/widgets/QuadStateCheckBox.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/widgets/QuadStateCheckBox.java	(revision 7509)
@@ -79,5 +79,5 @@
         setState(initial);
     }
-    
+
     /**
      * Constructs a new {@code QuadStateCheckBox}.
@@ -93,5 +93,5 @@
     @Override
     public void addMouseListener(MouseListener l) { }
-    
+
     /**
      * Set the new state.
@@ -101,13 +101,13 @@
         model.setState(state);
     }
-    
-    /** 
-     * Return the current state, which is determined by the selection status of the model. 
-     * @return The current state 
+
+    /**
+     * Return the current state, which is determined by the selection status of the model.
+     * @return The current state
      */
     public State getState() {
         return model.getState();
     }
-    
+
     @Override
     public void setSelected(boolean b) {
@@ -121,9 +121,9 @@
     private final class QuadStateDecorator implements ButtonModel {
         private final ButtonModel other;
-        
+
         private QuadStateDecorator(ButtonModel other) {
             this.other = other;
         }
-        
+
         private void setState(State state) {
             if (state == State.NOT_SELECTED) {
@@ -149,5 +149,5 @@
             }
         }
-        
+
         /**
          * The current state is embedded in the selection / armed
Index: trunk/src/org/openstreetmap/josm/gui/widgets/UrlLabel.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/widgets/UrlLabel.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/gui/widgets/UrlLabel.java	(revision 7509)
@@ -51,5 +51,5 @@
      * Constructs a new {@code UrlLabel} for the given URL and description.
      * @param url The URL to use
-     * @param description The description to display 
+     * @param description The description to display
      */
     public UrlLabel(String url, String description) {
@@ -60,5 +60,5 @@
      * Constructs a new {@code UrlLabel} for the given URL, description and font increase.
      * @param url The URL to use
-     * @param description The description to display 
+     * @param description The description to display
      * @param fontPlus The font increase in 1/72 of an inch units.
      */
@@ -115,20 +115,20 @@
         }
     }
-    
+
     @Override
     public void mousePressed(MouseEvent e) {
         // Ignored
     }
-    
+
     @Override
     public void mouseEntered(MouseEvent e) {
         // Ignored
     }
-    
+
     @Override
     public void mouseExited(MouseEvent e) {
         // Ignored
     }
-    
+
     @Override
     public void mouseReleased(MouseEvent e) {
Index: trunk/src/org/openstreetmap/josm/io/GeoJSONWriter.java
===================================================================
--- trunk/src/org/openstreetmap/josm/io/GeoJSONWriter.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/io/GeoJSONWriter.java	(revision 7509)
@@ -70,9 +70,9 @@
         }
     }
-    
+
     private static class GeometryPrimitiveVisitor implements PrimitiveVisitor {
-        
+
         private final JsonObjectBuilder geomObj;
-        
+
         public GeometryPrimitiveVisitor(JsonObjectBuilder geomObj) {
             this.geomObj = geomObj;
Index: trunk/src/org/openstreetmap/josm/io/GpxReader.java
===================================================================
--- trunk/src/org/openstreetmap/josm/io/GpxReader.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/io/GpxReader.java	(revision 7509)
@@ -507,5 +507,5 @@
 
     /**
-     * Constructs a new {@code GpxReader}, which can later parse the input stream 
+     * Constructs a new {@code GpxReader}, which can later parse the input stream
      * and store the result in trackData and markerData
      *
Index: trunk/src/org/openstreetmap/josm/io/OsmServerLocationReader.java
===================================================================
--- trunk/src/org/openstreetmap/josm/io/OsmServerLocationReader.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/io/OsmServerLocationReader.java	(revision 7509)
@@ -39,5 +39,5 @@
             this.compression = compression;
         }
-        
+
         public abstract T parse() throws OsmTransferException, IllegalDataException, IOException, SAXException;
     }
@@ -120,5 +120,5 @@
         }
     }
-    
+
     protected class OsmChangeParser extends Parser<DataSet> {
         protected OsmChangeParser(ProgressMonitor progressMonitor, Compression compression) {
@@ -140,5 +140,5 @@
             super(progressMonitor, compression);
         }
-        
+
         @Override
         public GpxData parse() throws OsmTransferException, IllegalDataException, IOException, SAXException {
Index: trunk/src/org/openstreetmap/josm/io/OsmServerUserInfoReader.java
===================================================================
--- trunk/src/org/openstreetmap/josm/io/OsmServerUserInfoReader.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/io/OsmServerUserInfoReader.java	(revision 7509)
@@ -112,5 +112,5 @@
                 userInfo.setLanguages(languages);
             }
-            
+
             // -- messages
             xmlNode = (Node)xpath.compile("/osm/user[1]/messages/received").evaluate(document, XPathConstants.NODE);
@@ -125,5 +125,5 @@
                 }
             }
-            
+
             return userInfo;
         } catch(XPathException e) {
Index: trunk/src/org/openstreetmap/josm/io/OsmTransferCanceledException.java
===================================================================
--- trunk/src/org/openstreetmap/josm/io/OsmTransferCanceledException.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/io/OsmTransferCanceledException.java	(revision 7509)
@@ -11,5 +11,5 @@
      */
     public OsmTransferCanceledException() {
-        
+
     }
 
Index: trunk/src/org/openstreetmap/josm/io/UTFInputStreamReader.java
===================================================================
--- trunk/src/org/openstreetmap/josm/io/UTFInputStreamReader.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/io/UTFInputStreamReader.java	(revision 7509)
@@ -12,5 +12,5 @@
  */
 public final class UTFInputStreamReader extends InputStreamReader {
-    
+
     /**
      * Creates a new {@link InputStreamReader} from the {@link InputStream} with UTF-8 as default encoding.
Index: trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/AddWayHandler.java
===================================================================
--- trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/AddWayHandler.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/AddWayHandler.java	(revision 7509)
@@ -46,5 +46,5 @@
         return new String[]{"way"};
     }
-    
+
     @Override
     public String[] getOptionalParams() {
@@ -64,5 +64,5 @@
         };
     }
-    
+
     @Override
     protected void handleRequest() throws RequestHandlerErrorException, RequestHandlerBadRequestException {
Index: trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/OpenFileHandler.java
===================================================================
--- trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/OpenFileHandler.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/OpenFileHandler.java	(revision 7509)
@@ -25,5 +25,5 @@
         return new String[]{"filename"};
     }
-    
+
     @Override
     public String[] getOptionalParams() {
Index: trunk/src/org/openstreetmap/josm/io/session/GeoImageSessionImporter.java
===================================================================
--- trunk/src/org/openstreetmap/josm/io/session/GeoImageSessionImporter.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/io/session/GeoImageSessionImporter.java	(revision 7509)
@@ -74,5 +74,5 @@
                                 case "exif-coordinates":
                                     entry.setExifCoor(new LatLon(
-                                            Double.parseDouble(attrElem.getAttribute("lat")), 
+                                            Double.parseDouble(attrElem.getAttribute("lat")),
                                             Double.parseDouble(attrElem.getAttribute("lon"))));
                                     break;
Index: trunk/src/org/openstreetmap/josm/plugins/PluginDownloadTask.java
===================================================================
--- trunk/src/org/openstreetmap/josm/plugins/PluginDownloadTask.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/plugins/PluginDownloadTask.java	(revision 7509)
@@ -40,5 +40,5 @@
      */
     public static final String PLUGIN_MIME_TYPES = "application/java-archive, application/zip; q=0.9, application/octet-stream; q=0.5";
-    
+
     private final Collection<PluginInformation> toUpdate = new LinkedList<>();
     private final Collection<PluginInformation> failed = new LinkedList<>();
Index: trunk/src/org/openstreetmap/josm/tools/Base64.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/Base64.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/tools/Base64.java	(revision 7509)
@@ -17,5 +17,5 @@
         // Hide default constructor for utils classes
     }
-    
+
     /** "base64": RFC 2045 default encoding */
     private static String encDefault = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
Index: trunk/src/org/openstreetmap/josm/tools/GeoPropertyIndex.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/GeoPropertyIndex.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/tools/GeoPropertyIndex.java	(revision 7509)
@@ -7,17 +7,17 @@
 /**
  * Fast index to look up properties of the earth surface.
- * 
+ *
  * It is expected that there is a relatively slow method to look up the property
  * for a certain coordinate and that there are larger areas with a uniform
  * property.
- * 
+ *
  * This index tries to find rectangles with uniform property and caches them.
  * Rectangles are subdivided, if there are different properties within.
  * (Up to a maximum level, when the slow method is used again.)
- * 
+ *
  * @param <T> the property (like land/water or nation)
  */
 public class GeoPropertyIndex<T> {
-    
+
     /**
      * A method to look up a property of the earth surface.
@@ -45,5 +45,5 @@
     private final GPLevel<T> root;
     private GPLevel<T> lastLevelUsed;
-    
+
     private static final boolean DEBUG = false;
 
@@ -51,5 +51,5 @@
      * Create new GeoPropertyIndex.
      * @param geoProp the input property that should be made faster by this index
-     * @param maxLevel 
+     * @param maxLevel
      */
     public GeoPropertyIndex(GeoProperty<T> geoProp, int maxLevel) {
@@ -59,5 +59,5 @@
         this.lastLevelUsed = root;
     }
-    
+
     /**
      * Look up the property for a certain point.
@@ -70,5 +70,5 @@
         return lastLevelUsed.get(ll);
     }
-    
+
     public static int index(LatLon ll, int level) {
         long noParts = 1 << level;
@@ -102,5 +102,5 @@
             return parent.get(ll);
         }
-        
+
         private T getBounded(LatLon ll) {
             if (DEBUG) System.err.print("GPLevel["+level+"]"+bbox+" ");
@@ -117,5 +117,5 @@
                 return owner.geoProp.get(ll);
             }
-            
+
             if (children == null) {
                 @SuppressWarnings("unchecked")
@@ -123,10 +123,10 @@
                 this.children = tmp;
             }
-            
+
             int idx = index(ll, level+1);
             if (children[idx] == null) {
             double lon1, lat1;
                 switch (idx) {
-                    case 0: 
+                    case 0:
                         lon1 = bbox.getTopLeftLon();
                         lat1 = bbox.getBottomRightLat();
@@ -136,9 +136,9 @@
                         lat1 = bbox.getTopLeftLat();
                         break;
-                    case 2: 
+                    case 2:
                         lon1 = bbox.getBottomRightLon();
                         lat1 = bbox.getBottomRightLat();
                         break;
-                    case 3: 
+                    case 3:
                         lon1 = bbox.getBottomRightLon();
                         lat1 = bbox.getTopLeftLat();
@@ -154,5 +154,5 @@
             return children[idx].getBounded(ll);
         }
-        
+
         /**
          * Checks, if a point is inside this tile.
@@ -163,7 +163,7 @@
          */
         boolean isInside(LatLon ll) {
-            return bbox.getTopLeftLon() <= ll.lon() && 
-                    (ll.lon() < bbox.getBottomRightLon() || (ll.lon() == 180.0 && bbox.getBottomRightLon() == 180.0)) && 
-                    bbox.getBottomRightLat() <= ll.lat() && 
+            return bbox.getTopLeftLon() <= ll.lon() &&
+                    (ll.lon() < bbox.getBottomRightLon() || (ll.lon() == 180.0 && bbox.getBottomRightLon() == 180.0)) &&
+                    bbox.getBottomRightLat() <= ll.lat() &&
                     (ll.lat() < bbox.getTopLeftLat() || (ll.lat() == 90.0 && bbox.getTopLeftLat() == 90.0));
         }
Index: trunk/src/org/openstreetmap/josm/tools/Geometry.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/Geometry.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/tools/Geometry.java	(revision 7509)
@@ -469,5 +469,5 @@
         return new Area(path);
     }
-    
+
     /**
      * Returns the Area of a polygon, from its list of nodes.
Index: trunk/src/org/openstreetmap/josm/tools/InputMapUtils.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/InputMapUtils.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/tools/InputMapUtils.java	(revision 7509)
@@ -17,9 +17,9 @@
  */
 public final class InputMapUtils {
-    
+
     private InputMapUtils() {
         // Hide default constructor for utils classes
     }
-    
+
     /**
      * Unassign Ctrl-Shift/Alt-Shift Up/Down from the given component
Index: trunk/src/org/openstreetmap/josm/tools/LanguageInfo.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/LanguageInfo.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/tools/LanguageInfo.java	(revision 7509)
@@ -5,9 +5,9 @@
 
 public final class LanguageInfo {
-    
+
     private LanguageInfo() {
         // Hide default constructor for utils classes
     }
-    
+
     /**
      * Type of the locale to use
@@ -126,5 +126,5 @@
         return getJOSMLocaleCode()+".";
     }
-    
+
     public static String getLanguageCodeManifest() {
         return getJOSMLocaleCode()+"_";
Index: trunk/src/org/openstreetmap/josm/tools/Pair.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/Pair.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/tools/Pair.java	(revision 7509)
@@ -10,10 +10,10 @@
  */
 public final class Pair<A,B> {
-    
+
     /**
      * The first item
      */
     public A a;
-    
+
     /**
      * The second item
@@ -65,5 +65,5 @@
 
     /**
-     * Convenient constructor method 
+     * Convenient constructor method
      * @param u The first item
      * @param v The second item
Index: trunk/src/org/openstreetmap/josm/tools/Predicate.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/Predicate.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/tools/Predicate.java	(revision 7509)
@@ -9,5 +9,5 @@
  */
 public interface Predicate<T> {
-    
+
     /**
      * Determines whether the object passes the test or not
Index: trunk/src/org/openstreetmap/josm/tools/Property.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/Property.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/tools/Property.java	(revision 7509)
@@ -8,5 +8,5 @@
  */
 public interface Property<O, P> {
-    
+
     /**
      * Get the value of the property.
@@ -15,5 +15,5 @@
      */
     public P get(O obj);
-    
+
     /**
      * Set the value of the property for the object.
Index: trunk/src/org/openstreetmap/josm/tools/RightAndLefthandTraffic.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/RightAndLefthandTraffic.java	(revision 7505)
+++ trunk/src/org/openstreetmap/josm/tools/RightAndLefthandTraffic.java	(revision 7509)
@@ -21,5 +21,5 @@
  */
 public class RightAndLefthandTraffic {
-    
+
     private static class RLTrafficGeoProperty implements GeoProperty<Boolean> {
 
@@ -46,5 +46,5 @@
         }
     }
-    
+
     private static Collection<Area> leftHandTrafficPolygons;
     private static GeoPropertyIndex<Boolean> rlCache;
@@ -52,7 +52,7 @@
     /**
      * Check if there is right-hand traffic at a certain location.
-     * 
+     *
      * TODO: Synchronization can be refined inside the {@link GeoPropertyIndex}
-     *       as most look-ups are read-only. 
+     *       as most look-ups are read-only.
      * @param ll the coordinates of the point
      * @return true if there is right-hand traffic, false if there is left-hand traffic
@@ -77,4 +77,4 @@
         rlCache = new GeoPropertyIndex<Boolean>(new RLTrafficGeoProperty(), 24);
     }
-    
+
 }
