Index: /applications/editors/josm/plugins/validator/build.xml
===================================================================
--- /applications/editors/josm/plugins/validator/build.xml	(revision 16158)
+++ /applications/editors/josm/plugins/validator/build.xml	(revision 16159)
@@ -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="1598"/>
+                <attribute name="Plugin-Mainversion" value="1638"/>
                 <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 16158)
+++ /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/GridLayer.java	(revision 16159)
@@ -160,6 +160,6 @@
         public void visit(Node n) 
         {
-            double x = n.eastNorth.east() * gridDetail;
-            double y = n.eastNorth.north()* gridDetail + 1;
+            double x = n.getEastNorth().east() * gridDetail;
+            double y = n.getEastNorth().north()* gridDetail + 1;
 
             drawCell( Math.floor(x), Math.floor(y) );
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 16158)
+++ /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/TestError.java	(revision 16159)
@@ -280,5 +280,5 @@
          */
         public void drawNode(Node n, Color color) {
-            Point p = mv.getPoint(n.eastNorth);
+            Point p = mv.getPoint(n.getEastNorth());
             g.setColor(color);
             if (selected) {
@@ -295,6 +295,6 @@
          */
         public void drawSegment(Node n1, Node n2, Color color) {
-            Point p1 = mv.getPoint(n1.eastNorth);
-            Point p2 = mv.getPoint(n2.eastNorth);
+            Point p1 = mv.getPoint(n1.getEastNorth());
+            Point p2 = mv.getPoint(n2.getEastNorth());
             g.setColor(color);
 
@@ -365,5 +365,5 @@
          */
         protected boolean isNodeVisible(Node n) {
-            Point p = mv.getPoint(n.eastNorth);
+            Point p = mv.getPoint(n.getEastNorth());
             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.eastNorth);
-            Point p2 = mv.getPoint(n2.eastNorth);
+            Point p1 = mv.getPoint(n1.getEastNorth());
+            Point p2 = mv.getPoint(n2.getEastNorth());
             if ((p1.x < 0) && (p2.x < 0))
                 return false;
Index: /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/CrossingWays.java
===================================================================
--- /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/CrossingWays.java	(revision 16158)
+++ /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/CrossingWays.java	(revision 16159)
@@ -203,8 +203,8 @@
 
             return Line2D.linesIntersect(
-                n1.eastNorth.east(), n1.eastNorth.north(),
-                n2.eastNorth.east(), n2.eastNorth.north(),
-                s2.n1.eastNorth.east(), s2.n1.eastNorth.north(),
-                s2.n2.eastNorth.east(), s2.n2.eastNorth.north());
+                n1.getEastNorth().east(), n1.getEastNorth().north(),
+                n2.getEastNorth().east(), n2.getEastNorth().north(),
+                s2.n1.getEastNorth().east(), s2.n1.getEastNorth().north(),
+                s2.n2.getEastNorth().east(), s2.n2.getEastNorth().north());
         }
     }
Index: /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/DuplicateNode.java
===================================================================
--- /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/DuplicateNode.java	(revision 16158)
+++ /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/DuplicateNode.java	(revision 16159)
@@ -59,5 +59,5 @@
     {
         if(!n.deleted && !n.incomplete)
-            nodes.add(n.coor, n);
+            nodes.add(n.getCoor(), n);
     }
 
Index: /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java
===================================================================
--- /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java	(revision 16158)
+++ /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/UnclosedWays.java	(revision 16159)
@@ -107,5 +107,5 @@
             Node f = w.nodes.get(0);
             Node l = w.nodes.get(w.nodes.size() - 1);
-            if(force || f.coor.greatCircleDistance(l.coor) < 10000)
+            if(force || f.getCoor().greatCircleDistance(l.getCoor()) < 10000)
             {
                 List<OsmPrimitive> primitives = new ArrayList<OsmPrimitive>();
Index: /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/UnconnectedWays.java
===================================================================
--- /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/UnconnectedWays.java	(revision 16158)
+++ /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/UnconnectedWays.java	(revision 16159)
@@ -67,5 +67,5 @@
             for(MyWaySegment s : ways)
             {
-                if(s.highway && s.nearby(en, mindist) && (a == null || a.contains(en.coor)))
+                if(s.highway && s.nearby(en, mindist) && (a == null || a.contains(en.getCoor())))
                     map.put(en, s.w);
             }
@@ -85,5 +85,5 @@
             for(MyWaySegment s : ways)
             {
-                if(!s.highway && s.nearby(en, mindist) && !s.isArea() && (a == null || a.contains(en.coor)))
+                if(!s.highway && s.nearby(en, mindist) && !s.isArea() && (a == null || a.contains(en.getCoor())))
                     map.put(en, s.w);
             }
@@ -93,5 +93,5 @@
             for(MyWaySegment s : ways)
             {
-                if(s.nearby(en, mindist) && !s.isArea() && (a == null || a.contains(en.coor)))
+                if(s.nearby(en, mindist) && !s.isArea() && (a == null || a.contains(en.getCoor())))
                     map.put(en, s.w);
             }
@@ -114,5 +114,5 @@
                 for(MyWaySegment s : ways)
                 {
-                    if(s.nearby(en, minmiddledist) && (a == null || a.contains(en.coor)))
+                    if(s.nearby(en, minmiddledist) && (a == null || a.contains(en.getCoor())))
                         map.put(en, s.w);
                 }
@@ -132,5 +132,5 @@
                 for(MyWaySegment s : ways)
                 {
-                    if(s.nearby(en, minmiddledist) && (a == null || a.contains(en.coor)))
+                    if(s.nearby(en, minmiddledist) && (a == null || a.contains(en.getCoor())))
                         map.put(en, s.w);
                 }
@@ -160,6 +160,6 @@
             this.w = w;
             this.highway = w.get("highway") != null || w.get("railway") != null;
-            line = new Line2D.Double(n1.eastNorth.east(), n1.eastNorth.north(),
-            n2.eastNorth.east(), n2.eastNorth.north());
+            line = new Line2D.Double(n1.getEastNorth().east(), n1.getEastNorth().north(),
+            n2.getEastNorth().east(), n2.getEastNorth().north());
         }
 
@@ -167,5 +167,5 @@
         {
             return !w.nodes.contains(n)
-            && line.ptSegDist(n.eastNorth.east(), n.eastNorth.north()) < dist;
+            && line.ptSegDist(n.getEastNorth().east(), n.getEastNorth().north()) < dist;
         }
         
Index: /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/WronglyOrderedWays.java
===================================================================
--- /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/WronglyOrderedWays.java	(revision 16158)
+++ /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/WronglyOrderedWays.java	(revision 16159)
@@ -94,6 +94,6 @@
             for (int node = 1; node < w.nodes.size(); node++)
             {
-                area2 += (w.nodes.get(node-1).coor.lon() * w.nodes.get(node).coor.lat()
-                - w.nodes.get(node).coor.lon() * w.nodes.get(node-1).coor.lat());
+                area2 += (w.nodes.get(node-1).getCoor().lon() * w.nodes.get(node).getCoor().lat()
+                - w.nodes.get(node).getCoor().lon() * w.nodes.get(node-1).getCoor().lat());
             }
 
Index: /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/util/AgregatePrimitivesVisitor.java
===================================================================
--- /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/util/AgregatePrimitivesVisitor.java	(revision 16158)
+++ /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/util/AgregatePrimitivesVisitor.java	(revision 16159)
@@ -2,8 +2,11 @@
 
 import java.util.Collection;
-import java.util.Comparator;
 import java.util.LinkedList;
 
-import org.openstreetmap.josm.data.osm.*;
+import org.openstreetmap.josm.data.osm.Node;
+import org.openstreetmap.josm.data.osm.OsmPrimitive;
+import org.openstreetmap.josm.data.osm.Relation;
+import org.openstreetmap.josm.data.osm.RelationMember;
+import org.openstreetmap.josm.data.osm.Way;
 import org.openstreetmap.josm.data.osm.visitor.AbstractVisitor;
 
Index: /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/util/Util.java
===================================================================
--- /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/util/Util.java	(revision 16158)
+++ /applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/util/Util.java	(revision 16159)
@@ -12,5 +12,4 @@
 import org.openstreetmap.josm.data.osm.Node;
 import org.openstreetmap.josm.data.osm.Way;
-import org.openstreetmap.josm.plugins.PluginInformation;
 import org.openstreetmap.josm.plugins.validator.OSMValidatorPlugin;
 
@@ -51,8 +50,8 @@
 
         // First, round coordinates
-        long x0 = Math.round(n1.eastNorth.east()  * OSMValidatorPlugin.griddetail);
-        long y0 = Math.round(n1.eastNorth.north() * OSMValidatorPlugin.griddetail);
-        long x1 = Math.round(n2.eastNorth.east()  * OSMValidatorPlugin.griddetail);
-        long y1 = Math.round(n2.eastNorth.north() * OSMValidatorPlugin.griddetail);
+        long x0 = Math.round(n1.getEastNorth().east()  * OSMValidatorPlugin.griddetail);
+        long y0 = Math.round(n1.getEastNorth().north() * OSMValidatorPlugin.griddetail);
+        long x1 = Math.round(n2.getEastNorth().east()  * OSMValidatorPlugin.griddetail);
+        long y1 = Math.round(n2.getEastNorth().north() * OSMValidatorPlugin.griddetail);
 
         // Start of the way
@@ -82,8 +81,8 @@
 
         // Then floor coordinates, in case the way is in the border of the cell.
-        x0 = (long)Math.floor(n1.eastNorth.east()  * OSMValidatorPlugin.griddetail);
-        y0 = (long)Math.floor(n1.eastNorth.north() * OSMValidatorPlugin.griddetail);
-        x1 = (long)Math.floor(n2.eastNorth.east()  * OSMValidatorPlugin.griddetail);
-        y1 = (long)Math.floor(n2.eastNorth.north() * OSMValidatorPlugin.griddetail);
+        x0 = (long)Math.floor(n1.getEastNorth().east()  * OSMValidatorPlugin.griddetail);
+        y0 = (long)Math.floor(n1.getEastNorth().north() * OSMValidatorPlugin.griddetail);
+        x1 = (long)Math.floor(n2.getEastNorth().east()  * OSMValidatorPlugin.griddetail);
+        y1 = (long)Math.floor(n2.getEastNorth().north() * OSMValidatorPlugin.griddetail);
 
         // Start of the way
@@ -131,8 +130,8 @@
     {
         List<Point2D> cells = new ArrayList<Point2D>();
-        double x0 = n1.eastNorth.east() * gridDetail;
-        double x1 = n2.eastNorth.east() * gridDetail;
-        double y0 = n1.eastNorth.north() * gridDetail + 1;
-        double y1 = n2.eastNorth.north() * gridDetail + 1;
+        double x0 = n1.getEastNorth().east() * gridDetail;
+        double x1 = n2.getEastNorth().east() * gridDetail;
+        double y0 = n1.getEastNorth().north() * gridDetail + 1;
+        double y1 = n2.getEastNorth().north() * gridDetail + 1;
 
         if( x0 > x1 )
