Index: /applications/editors/josm/plugins/OSMRecPlugin/build.xml
===================================================================
--- /applications/editors/josm/plugins/OSMRecPlugin/build.xml	(revision 34143)
+++ /applications/editors/josm/plugins/OSMRecPlugin/build.xml	(revision 34144)
@@ -3,5 +3,5 @@
 
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
-    <property name="plugin.main.version" value="12859"/>
+    <property name="plugin.main.version" value="13597"/>
     <property name="plugin.version" value="2.1"/>
 
Index: /applications/editors/josm/plugins/OSMRecPlugin/src/org/openstreetmap/josm/plugins/osmrec/OSMRecPluginHelper.java
===================================================================
--- /applications/editors/josm/plugins/OSMRecPlugin/src/org/openstreetmap/josm/plugins/osmrec/OSMRecPluginHelper.java	(revision 34143)
+++ /applications/editors/josm/plugins/OSMRecPlugin/src/org/openstreetmap/josm/plugins/osmrec/OSMRecPluginHelper.java	(revision 34144)
@@ -125,4 +125,5 @@
 import org.openstreetmap.josm.tools.Logging;
 import org.openstreetmap.josm.tools.Shortcut;
+import org.openstreetmap.josm.tools.Utils;
 
 import com.vividsolutions.jts.geom.Coordinate;
@@ -1813,6 +1814,6 @@
          */
         public final void performTagAdding() {
-            String key = Tag.removeWhiteSpaces(keys.getEditor().getItem().toString());
-            String value = Tag.removeWhiteSpaces(values.getEditor().getItem().toString());
+            String key = Utils.removeWhiteSpaces(keys.getEditor().getItem().toString());
+            String value = Utils.removeWhiteSpaces(values.getEditor().getItem().toString());
             if (key.isEmpty() || value.isEmpty()) return;
             for (OsmPrimitive osm: sel) {
