Changeset 5208 in josm for trunk/src/org/openstreetmap/josm


Ignore:
Timestamp:
2012-05-01T12:37:06+02:00 (12 years ago)
Author:
simon04
Message:

fix #7637 - NullPointerException when parsing erroneous presets (<combo> w/o values)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java

    r5196 r5208  
    948948     */
    949949    private static String[] splitEscaped(char delimiter, String s) {
     950        if (s == null) {
     951            return new String[0];
     952        }
    950953        List<String> result = new ArrayList<String>();
    951954        boolean backslash = false;
Note: See TracChangeset for help on using the changeset viewer.