Ignore:
Timestamp:
2017-01-25T14:12:07+01:00 (7 years ago)
Author:
Don-vip
Message:

see #12627, see #14289 - add non regression unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/map/MapPaintPreference.java

    r10611 r11493  
    272272        public Map<String, String> serialize(SourceEntry entry) {
    273273            Map<String, String> res = new HashMap<>();
    274             res.put("url", entry.url);
     274            res.put("url", entry.url == null ? "" : entry.url);
    275275            res.put("title", entry.title == null ? "" : entry.title);
    276276            res.put("active", Boolean.toString(entry.active));
Note: See TracChangeset for help on using the changeset viewer.