Index: /applications/editors/josm/plugins/tagging-preset-tester/build.xml
===================================================================
--- /applications/editors/josm/plugins/tagging-preset-tester/build.xml	(revision 21279)
+++ /applications/editors/josm/plugins/tagging-preset-tester/build.xml	(revision 21280)
@@ -29,5 +29,5 @@
 
 	<property name="commit.message" value="Changed the constructor signature of the plugin main class" />
-	<property name="plugin.main.version" value="2830" />
+	<property name="plugin.main.version" value="3250" />
 
 
Index: /applications/editors/josm/plugins/tagging-preset-tester/src/org/openstreetmap/josm/plugins/taggingpresettester/TaggingPresetTester.java
===================================================================
--- /applications/editors/josm/plugins/tagging-preset-tester/src/org/openstreetmap/josm/plugins/taggingpresettester/TaggingPresetTester.java	(revision 21279)
+++ /applications/editors/josm/plugins/tagging-preset-tester/src/org/openstreetmap/josm/plugins/taggingpresettester/TaggingPresetTester.java	(revision 21280)
@@ -12,4 +12,5 @@
 import java.io.BufferedReader;
 import java.net.URL;
+import java.util.Arrays;
 import java.util.Collection;
 import java.util.Collections;
@@ -27,5 +28,4 @@
 import org.openstreetmap.josm.data.osm.OsmPrimitive;
 import org.openstreetmap.josm.gui.tagging.TaggingPreset;
-import org.openstreetmap.josm.plugins.PluginInformation;
 import org.xml.sax.SAXException;
 
@@ -38,27 +38,5 @@
 
     public void reload() {
-        Vector<TaggingPreset> allPresets = new Vector<TaggingPreset>();
-        for (String source : args) {
-            InputStream in = null;
-            try {
-                if (source.startsWith("http") || source.startsWith("ftp") || source.startsWith("file"))
-                    in = new URL(source).openStream();
-                else
-                    in = new FileInputStream(source);
-                allPresets.addAll(TaggingPreset.readAll(new BufferedReader(new InputStreamReader(in))));
-            } catch (IOException e) {
-                e.printStackTrace();
-                JOptionPane.showMessageDialog(null, tr("Could not read tagging preset source: {0}",source));
-            } catch (SAXException e) {
-                e.printStackTrace();
-                JOptionPane.showMessageDialog(null, tr("Error parsing {0}: {1}",source,e.getMessage()));
-            }
-
-            try {
-                if (in != null)
-                    in.close();
-            } catch (IOException e) {
-            }
-        }
+        Vector<TaggingPreset> allPresets = new Vector<TaggingPreset>(TaggingPreset.readAll(Arrays.asList(args)));
         taggingPresets.setModel(new DefaultComboBoxModel(allPresets));
     }
@@ -78,8 +56,4 @@
     }
    
-    public TaggingPresetTester(PluginInformation info) {
-    	this(new String[]{});
-    }
-    
     public TaggingPresetTester(String[] args) {
         super(tr("Tagging Preset Tester"));
Index: /applications/editors/josm/plugins/tagging-preset-tester/src/org/openstreetmap/josm/plugins/taggingpresettester/TaggingPresetTesterAction.java
===================================================================
--- /applications/editors/josm/plugins/tagging-preset-tester/src/org/openstreetmap/josm/plugins/taggingpresettester/TaggingPresetTesterAction.java	(revision 21279)
+++ /applications/editors/josm/plugins/tagging-preset-tester/src/org/openstreetmap/josm/plugins/taggingpresettester/TaggingPresetTesterAction.java	(revision 21280)
@@ -5,4 +5,6 @@
 import java.awt.event.ActionEvent;
 import java.awt.event.KeyEvent;
+import java.util.Collection;
+import java.util.Collections;
 
 import javax.swing.JOptionPane;
@@ -11,4 +13,6 @@
 import org.openstreetmap.josm.actions.JosmAction;
 import org.openstreetmap.josm.gui.MainMenu;
+import org.openstreetmap.josm.gui.tagging.TaggingPreset;
+import org.openstreetmap.josm.plugins.PluginInformation;
 import org.openstreetmap.josm.tools.Shortcut;
 
@@ -29,12 +33,19 @@
     }
 
+    public TaggingPresetTesterAction(PluginInformation info) {
+        this();
+    }
+
     public void actionPerformed(ActionEvent e) {
-        String taggingPresetSources = Main.pref.get("taggingpreset.sources");
-        if (taggingPresetSources.equals("")) {
+        Collection<String> coll = TaggingPreset.getPresetSources();
+
+        if (coll.size() == 0) {
             JOptionPane.showMessageDialog(Main.parent, tr("You have to specify tagging preset sources in the preferences first."));
             return;
         }
-        String[] args = taggingPresetSources.split(";");
-        new TaggingPresetTester(args);
+
+        String[] taggingPresetSources = new String [coll.size()];
+        coll.toArray(taggingPresetSources);
+        new TaggingPresetTester(taggingPresetSources);
     }
 }
