Changeset 17825 in josm for trunk/src/org
- Timestamp:
- 2021-04-26T19:31:07+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/osm/DefaultNameFormatter.java
r17812 r17825 49 49 50 50 private static final List<NameFormatterHook> formatHooks = new LinkedList<>(); 51 52 private static final List<String> HIGHWAY_RAILWAY_WATERWAY_LANDUSE_BUILDING = Arrays.asList( 53 marktr("highway"), marktr("railway"), marktr("waterway"), marktr("landuse"), marktr("building")); 51 54 52 55 /** … … 236 239 } 237 240 if (n == null) { 238 for (String key : Arrays.asList(marktr("highway"), marktr("railway"), marktr("waterway"), marktr("landuse"), marktr("building"))) {241 for (String key : HIGHWAY_RAILWAY_WATERWAY_LANDUSE_BUILDING) { 239 242 if (way.hasKey(key) && !way.isKeyFalse(key)) { 240 243 /* I18N: first is highway, railway, waterway, landuse or building type, second is the type itself */
Note:
See TracChangeset
for help on using the changeset viewer.