Index: /applications/editors/josm/plugins/measurement/build.xml
===================================================================
--- /applications/editors/josm/plugins/measurement/build.xml	(revision 17376)
+++ /applications/editors/josm/plugins/measurement/build.xml	(revision 17377)
@@ -25,5 +25,5 @@
                 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
                 <attribute name="Plugin-Description" value="Provide a measurement dialog and a layer to measure length and angle of segments, area surrounded by a (simple) closed way and create measurement paths (which also can be imported from a gps layer)."/>
-                <attribute name="Plugin-Mainversion" value="1893"/>
+                <attribute name="Plugin-Mainversion" value="2012"/>
                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
             </manifest>
Index: /applications/editors/josm/plugins/measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementDialog.java
===================================================================
--- /applications/editors/josm/plugins/measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementDialog.java	(revision 17376)
+++ /applications/editors/josm/plugins/measurement/src/org/openstreetmap/josm/plugins/measurement/MeasurementDialog.java	(revision 17377)
@@ -126,5 +126,5 @@
                                         Way w = (Way)p;
                                         Node lastN = null;
-                                        for(Node n: w.nodes){
+                                        for(Node n: w.getNodes()){
                                             if(lastN != null){
                                                 length += MeasurementLayer.calcDistance(lastN.getCoor(), n.getCoor());
@@ -135,5 +135,5 @@
                                             lastN = n;
                                         }
-                                        if (lastN != null && lastN == w.nodes.iterator().next()){
+                                        if (lastN != null && lastN == w.getNodes().iterator().next()){
                                             area = Math.abs(area / 2);
                                         }else{
