- Timestamp:
- 2010-12-04T18:31:39+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/Preferences.java
r3549 r3696 620 620 } 621 621 622 /** 623 * Used to read a 2-dimensional array of strings from the preference file. 624 * If not a single entry could be found, def is returned. 625 */ 622 626 synchronized public Collection<Collection<String>> getArray(String key, 623 627 Collection<Collection<String>> def) { … … 630 634 col.add(getCollection(key+num++, null)); 631 635 } 632 return num == 0 && def != null? def : col;636 return num == 0 ? def : col; 633 637 } 634 638
Note:
See TracChangeset
for help on using the changeset viewer.