Index: /applications/editors/josm/plugins/openstreetbugs/build.xml
===================================================================
--- /applications/editors/josm/plugins/openstreetbugs/build.xml	(revision 18481)
+++ /applications/editors/josm/plugins/openstreetbugs/build.xml	(revision 18482)
@@ -26,5 +26,5 @@
                 <attribute name="Plugin-Description" value="Imports issues from OpenStreetBugs"/>
                 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/OpenStreetBugs"/>
-                <attribute name="Plugin-Mainversion" value="2327"/>
+                <attribute name="Plugin-Mainversion" value="2396"/>
                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
             </manifest>
Index: /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbLayer.java
===================================================================
--- /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbLayer.java	(revision 18481)
+++ /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbLayer.java	(revision 18482)
@@ -119,5 +119,5 @@
     @Override
     public void paint(Graphics g, MapView mv) {
-        Object[] nodes = data.nodes.toArray();
+        Object[] nodes = data.getNodes().toArray();
         // This loop renders all the bug icons
         for (int i = 0; i < nodes.length; i++) {
@@ -210,5 +210,5 @@
         double minDistanceSq = Double.MAX_VALUE;
         Node minPrimitive = null;
-        for (Node n : data.nodes) {
+        for (Node n : data.getNodes()) {
             if (!n.isUsable())
                 continue;
@@ -232,5 +232,5 @@
             if(Main.map.mapView.getActiveLayer() == this) {
                 Node n = (Node) getNearestNode(e.getPoint());
-                if(data.nodes.contains(n)) {
+                if(data.getNodes().contains(n)) {
                     data.setSelected(n);
                 }
@@ -252,5 +252,5 @@
                 Node n = (Node) getNearestNode(e.getPoint());
                 OsbAction.setSelectedNode(n);
-                if(data.nodes.contains(n)) {
+                if(data.getNodes().contains(n)) {
                     PopupFactory.createPopup(n).show(e.getComponent(), e.getX(), e.getY());
                 }
Index: /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbPlugin.java
===================================================================
--- /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbPlugin.java	(revision 18481)
+++ /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbPlugin.java	(revision 18482)
@@ -161,5 +161,5 @@
 
             // display the parsed data
-            if(!dataSet.nodes.isEmpty() && dialog.isDialogShowing()) {
+            if(!dataSet.getNodes().isEmpty() && dialog.isDialogShowing()) {
                 // if the map layer has been closed, while we are requesting the osb db,
                 // we don't have to update the gui, because the user is not interested
Index: /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/api/DownloadAction.java
===================================================================
--- /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/api/DownloadAction.java	(revision 18481)
+++ /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/api/DownloadAction.java	(revision 18482)
@@ -67,7 +67,5 @@
 
         // clear dataset
-        dataset.nodes.clear();
-        dataset.relations.clear();
-        dataset.ways.clear();
+        dataset.clear();
 
         // parse the data
Index: /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/OsbDialog.java
===================================================================
--- /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/OsbDialog.java	(revision 18481)
+++ /applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/OsbDialog.java	(revision 18482)
@@ -184,5 +184,5 @@
         Node lastNode = OsbAction.getSelectedNode();
         model = new DefaultListModel();
-        List<Node> sortedList = new ArrayList<Node>(dataset.nodes);
+        List<Node> sortedList = new ArrayList<Node>(dataset.getNodes());
         Collections.sort(sortedList, new BugComparator());
 
