Changeset 18327 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2021-12-02T09:54:09+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/PresetListEntry.java
r18257 r18327 189 189 */ 190 190 public int getCount() { 191 Integer count = cms == null ? null : cms.usage.map.get(value);191 Integer count = cms == null || cms.usage == null ? null : cms.usage.map.get(value); 192 192 return count == null ? 0 : count; 193 193 }
Note:
See TracChangeset
for help on using the changeset viewer.