Index: trunk/src/org/openstreetmap/josm/data/Preferences.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/Preferences.java	(revision 3695)
+++ trunk/src/org/openstreetmap/josm/data/Preferences.java	(revision 3696)
@@ -620,4 +620,8 @@
     }
     
+    /**
+     * Used to read a 2-dimensional array of strings from the preference file.
+     * If not a single entry could be found, def is returned.
+     */ 
     synchronized public Collection<Collection<String>> getArray(String key,
     Collection<Collection<String>> def) {
@@ -630,5 +634,5 @@
             col.add(getCollection(key+num++, null));
         }
-        return num == 0 && def != null ? def : col;
+        return num == 0 ? def : col;
     }
     
