Changeset 5327 in josm for trunk


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

fix NPE bug in PropertiesDialog/"Copy Value"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java

    r5278 r5327  
    14851485        @Override
    14861486        protected Collection<String> getString(OsmPrimitive p, String key) {
    1487             return Collections.singleton(p.get(key));
     1487            String v = p.get(key);
     1488            return v == null ? null : Collections.singleton(v);
    14881489        }
    14891490    }
Note: See TracChangeset for help on using the changeset viewer.