Index: applications/editors/josm/plugins/openstreetbugs/build.xml
===================================================================
--- applications/editors/josm/plugins/openstreetbugs/build.xml	(revision 26284)
+++ applications/editors/josm/plugins/openstreetbugs/build.xml	(revision 26299)
@@ -27,5 +27,5 @@
 <project name="openstreetbugs" default="dist" basedir=".">
     <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
-    <property name="plugin.main.version" value="3835"/>
+    <property name="plugin.main.version" value="4223"/>
     <property name="josm" location="../../core/dist/josm-custom.jar"/>
     <property name="plugin.dist.dir" value="../../dist"/>
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 26284)
+++ applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbLayer.java	(revision 26299)
@@ -79,5 +79,5 @@
         this.data = dataSet;
         this.dialog = dialog;
-        DataSet.selListeners.add(new SelectionChangedListener() {
+        DataSet.addSelectionListener(new SelectionChangedListener() {
             public void selectionChanged(Collection<? extends OsmPrimitive> newSelection) {
                 selection = newSelection;
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 26284)
+++ applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/OsbDialog.java	(revision 26299)
@@ -451,7 +451,7 @@
     public void otherDatasetChange(AbstractDatasetChangedEvent event) {}
 
-    public void primtivesAdded(PrimitivesAddedEvent event) {}
-
-    public void primtivesRemoved(PrimitivesRemovedEvent event) {}
+    public void primitivesAdded(PrimitivesAddedEvent event) {}
+
+    public void primitivesRemoved(PrimitivesRemovedEvent event) {}
 
     public void relationMembersChanged(RelationMembersChangedEvent event) {}
