Index: applications/editors/josm/plugins/validator/build.xml
===================================================================
--- applications/editors/josm/plugins/validator/build.xml	(revision 16290)
+++ applications/editors/josm/plugins/validator/build.xml	(revision 16294)
@@ -26,5 +26,5 @@
                 <attribute name="Plugin-Description" value="An OSM data validator. It checks for problems in data, and provides fixes for the common ones. Spellcheck integrated for tag names."/>
                 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/Validator"/>
-                <attribute name="Plugin-Mainversion" value="1722"/>
+                <attribute name="Plugin-Mainversion" value="1725"/>
                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
             </manifest>
Index: applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/GridLayer.java
===================================================================
--- applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/GridLayer.java	(revision 16290)
+++ applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/GridLayer.java	(revision 16294)
@@ -23,5 +23,5 @@
 /**
  * A debug layer for testing the grid cells a way crosses.
- * 
+ *
  * @author frsantos
  */
@@ -29,8 +29,8 @@
 {
     /**
-     * Constructor 
+     * Constructor
      * @param name
      */
-    public GridLayer(String name) 
+    public GridLayer(String name)
     {
         super(name);
@@ -47,10 +47,10 @@
      * Draw the grid and highlight all cells acuppied by any selected primitive.
      */
-    @Override 
-    public void paint(final Graphics g, final MapView mv) 
+    @Override
+    public void paint(final Graphics g, final MapView mv)
     {
         if( !Main.pref.hasKey(PreferenceEditor.PREF_DEBUG + ".grid") )
             return;
-        
+
         int gridWidth = Integer.parseInt(Main.pref.get(PreferenceEditor.PREF_DEBUG + ".grid") );
         int width = mv.getWidth();
@@ -67,13 +67,13 @@
         for(OsmPrimitive p : Main.ds.getSelected() )
             p.visit(visitor);
-        
+
         long x0 = (long)Math.floor(origin.east()  * gridWidth);
         long x1 = (long)Math.floor(border.east()  * gridWidth);
         long y0 = (long)Math.floor(origin.north() * gridWidth) + 1;
-        long y1 = (long)Math.floor(border.north() * gridWidth) + 1;        
+        long y1 = (long)Math.floor(border.north() * gridWidth) + 1;
         long aux;
         if( x0 > x1 ) { aux = x0; x0 = x1; x1 = aux; }
         if( y0 > y1 ) { aux = y0; y0 = y1; y1 = aux; }
-        
+
         g.setColor(Color.RED.brighter().brighter());
         for( double x = x0; x <= x1; x++)
@@ -90,29 +90,29 @@
     }
 
-    @Override 
-    public String getToolTipText() 
+    @Override
+    public String getToolTipText()
     {
         return null;
     }
 
-    @Override 
+    @Override
     public void mergeFrom(Layer from) {}
 
-    @Override 
+    @Override
     public boolean isMergable(Layer other) {
         return false;
     }
 
-    @Override 
+    @Override
     public void visitBoundingBox(BoundingXYVisitor v) {}
 
-    @Override 
-    public Object getInfoComponent() 
+    @Override
+    public Object getInfoComponent()
     {
         return getToolTipText();
     }
 
-    @Override 
-    public Component[] getMenuEntries() 
+    @Override
+    public Component[] getMenuEntries()
     {
         return new Component[]{
@@ -126,5 +126,5 @@
 
     @Override public void destroy() { }
-    
+
     /**
      * Visitor that highlights all cells the selected primitives go through
@@ -152,5 +152,5 @@
             this.mv = mv;
             this.gridDetail = gridDetail;
-            
+
             Point p = mv.getPoint( new EastNorth(0, 0) );
             Point p2 = mv.getPoint( new EastNorth(1d/gridDetail, 1d/gridDetail) );
@@ -158,5 +158,5 @@
         }
 
-        public void visit(Node n) 
+        public void visit(Node n)
         {
             double x = n.getEastNorth().east() * gridDetail;
@@ -166,5 +166,5 @@
         }
 
-        public void visit(Way w) 
+        public void visit(Way w)
         {
             Node lastN = null;
@@ -182,6 +182,6 @@
 
         public void visit(Relation r) {}
-        
-        /** 
+
+        /**
          * Draws a solid cell at the (x,y) location
          * @param x
Index: applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/TestError.java
===================================================================
--- applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/TestError.java	(revision 16290)
+++ applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/TestError.java	(revision 16294)
@@ -280,5 +280,5 @@
          */
         public void drawNode(Node n, Color color) {
-            Point p = mv.getPoint(n.getEastNorth());
+            Point p = mv.getPoint(n);
             g.setColor(color);
             if (selected) {
@@ -295,6 +295,6 @@
          */
         public void drawSegment(Node n1, Node n2, Color color) {
-            Point p1 = mv.getPoint(n1.getEastNorth());
-            Point p2 = mv.getPoint(n2.getEastNorth());
+            Point p1 = mv.getPoint(n1);
+            Point p2 = mv.getPoint(n2);
             g.setColor(color);
 
@@ -365,5 +365,5 @@
          */
         protected boolean isNodeVisible(Node n) {
-            Point p = mv.getPoint(n.getEastNorth());
+            Point p = mv.getPoint(n);
             return !((p.x < 0) || (p.y < 0) || (p.x > mv.getWidth()) || (p.y > mv.getHeight()));
         }
@@ -377,6 +377,6 @@
          */
         protected boolean isSegmentVisible(Node n1, Node n2) {
-            Point p1 = mv.getPoint(n1.getEastNorth());
-            Point p2 = mv.getPoint(n2.getEastNorth());
+            Point p1 = mv.getPoint(n1);
+            Point p2 = mv.getPoint(n2);
             if ((p1.x < 0) && (p2.x < 0))
                 return false;
