Changeset 5172 in josm for trunk/src/org
- Timestamp:
- 2012-04-08T00:34:00+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java
r5169 r5172 636 636 } 637 637 638 // as addToPanel may be called several times, set String to null to avoid "Ignoring * attribute as * elements are given" 639 values = null; 640 display_values = null; 641 locale_display_values = null; 642 short_descriptions = null; 643 locale_short_descriptions = null; 644 638 645 return display_array; 639 646 } … … 923 930 * @param s the string 924 931 */ 925 private static String[] splitEscaped(char del emiter, String s) {932 private static String[] splitEscaped(char delimiter, String s) { 926 933 List<String> result = new ArrayList<String>(); 927 934 boolean backslash = false; … … 934 941 } else if (ch == '\\') { 935 942 backslash = true; 936 } else if (ch == del emiter) {943 } else if (ch == delimiter) { 937 944 result.add(item.toString()); 938 945 item.setLength(0);
Note:
See TracChangeset
for help on using the changeset viewer.