Changeset 2905 in josm
- Timestamp:
- 2010-01-29T21:26:50+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java
r2903 r2905 21 21 import java.util.Arrays; 22 22 import java.util.Collection; 23 import java.util.Collections;24 23 import java.util.HashMap; 25 24 import java.util.LinkedHashMap; … … 327 326 String[] value_array = values.split(","); 328 327 String[] display_array; 328 329 329 if(locale_display_values != null) { 330 330 display_array = locale_display_values.split(","); … … 332 332 display_array = display_values.split(","); 333 333 } else { 334 display_array = value_array; 335 } 336 337 if (display_array.length != value_array.length) { 338 System.err.println(tr("Broken tagging preset \"{0}-{1}\" - number of items in display_values must be the same as in values", key, text)); 334 339 display_array = value_array; 335 340 } … … 642 647 MirroredInputStream s = new MirroredInputStream(source); 643 648 InputStream zip = s.getZipEntry("xml","preset"); 644 if(zip != null) 649 if(zip != null) { 645 650 zipIcons = s.getFile(); 651 } 646 652 InputStreamReader r; 647 653 try
Note:
See TracChangeset
for help on using the changeset viewer.