Changeset 17673 in josm for trunk/src/org
- Timestamp:
- 2021-03-26T22:41:30+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/DefaultNameFormatter.java
r17672 r17673 160 160 */ 161 161 public String format(IPrimitive osm) { 162 if (osm instanceof INode) { 163 return format((INode) osm); 164 } else if (osm instanceof IWay) { 165 return format((IWay<?>) osm); 166 } else if (osm instanceof IRelation) { 167 return format((IRelation<?>) osm); 168 } 169 return null; 162 return osm.getDisplayName(this); 170 163 } 171 164
Note:
See TracChangeset
for help on using the changeset viewer.