Index: trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java	(revision 3248)
+++ trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java	(revision 3250)
@@ -636,13 +636,6 @@
     }
 
-    public static Collection<TaggingPreset> readFromPreferences() {
+    public static Collection<TaggingPreset> readAll(Collection<String> sources) {
         LinkedList<TaggingPreset> allPresets = new LinkedList<TaggingPreset>();
-        LinkedList<String> sources = new LinkedList<String>();
-
-        if(Main.pref.getBoolean("taggingpreset.enable-defaults", true)) {
-            sources.add("resource://data/defaultpresets.xml");
-        }
-        sources.addAll(Main.pref.getCollection("taggingpreset.sources", new LinkedList<String>()));
-
         for(String source : sources)
         {
@@ -685,4 +678,18 @@
     }
 
+    public static LinkedList<String> getPresetSources() {
+        LinkedList<String> sources = new LinkedList<String>();
+
+        if(Main.pref.getBoolean("taggingpreset.enable-defaults", true)) {
+            sources.add("resource://data/defaultpresets.xml");
+        }
+        sources.addAll(Main.pref.getCollection("taggingpreset.sources", new LinkedList<String>()));
+        return sources;
+    }
+
+    public static Collection<TaggingPreset> readFromPreferences() {
+        return readAll(getPresetSources());
+    }
+
     private static class PresetPanel extends JPanel {
         boolean hasElements = false;
