Index: applications/editors/josm/plugins/cadastre-fr/build.xml
===================================================================
--- applications/editors/josm/plugins/cadastre-fr/build.xml	(revision 18408)
+++ applications/editors/josm/plugins/cadastre-fr/build.xml	(revision 18413)
@@ -26,5 +26,5 @@
                 <attribute name="Plugin-Description" value="A special handler for the French land registry WMS server."/>
                 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/wiki/FR:JOSM/Fr:Plugin/Cadastre"/>
-                <attribute name="Plugin-Mainversion" value="2327"/>
+                <attribute name="Plugin-Mainversion" value="2381"/>
                 <attribute name="Plugin-Stage" value="60"/>
                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
Index: applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadSVGBuilding.java
===================================================================
--- applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadSVGBuilding.java	(revision 18408)
+++ applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/DownloadSVGBuilding.java	(revision 18413)
@@ -110,5 +110,5 @@
                 Node nodeToAdd = new Node(Main.proj.eastNorth2latlon(eastNorth));
                 // check if new node is not already created by another new path
-                Node nearestNewNode = checkNearestNode(nodeToAdd, svgDataSet.nodes);
+                Node nearestNewNode = checkNearestNode(nodeToAdd, svgDataSet.getNodes());
                 if (nearestNewNode == nodeToAdd)
                     svgDataSet.addPrimitive(nearestNewNode);
@@ -128,12 +128,12 @@
 
         // simplify ways and check if we can reuse existing OSM nodes
-        for (Way wayToAdd : svgDataSet.ways)
+        for (Way wayToAdd : svgDataSet.getWays())
             new SimplifyWay().simplifyWay(wayToAdd, svgDataSet, 0.5);
         // check if the new way or its nodes is already in OSM layer
-        for (Node n : svgDataSet.nodes) {
-            Node nearestNewNode = checkNearestNode(n, Main.main.getCurrentDataSet().nodes);
+        for (Node n : svgDataSet.getNodes()) {
+            Node nearestNewNode = checkNearestNode(n, Main.main.getCurrentDataSet().getNodes());
             if (nearestNewNode != n) {
                 // replace the SVG node by the OSM node
-                for (Way w : svgDataSet.ways) {
+                for (Way w : svgDataSet.getWays()) {
                     int replaced = 0;
                     for (Node node : w.getNodes())
@@ -151,8 +151,8 @@
 
         Collection<Command> cmds = new LinkedList<Command>();
-        for (Node node : svgDataSet.nodes)
+        for (Node node : svgDataSet.getNodes())
             if (!node.isDeleted())
                 cmds.add(new AddCommand(node));
-        for (Way way : svgDataSet.ways)
+        for (Way way : svgDataSet.getWays())
             if (!way.isDeleted())
                 cmds.add(new AddCommand(way));
