Changeset 6310 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java
- Timestamp:
- 2013-10-07T00:04:48+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/LineElemStyle.java
r5801 r6310 8 8 import java.util.Arrays; 9 9 10 import org.openstreetmap.josm.Main; 10 11 import org.openstreetmap.josm.data.osm.Node; 11 12 import org.openstreetmap.josm.data.osm.OsmPrimitive; … … 137 138 /* if we have a "width" tag, try use it */ 138 139 String widthTag = env.osm.get("width"); 139 if (widthTag == null) {140 if (widthTag == null) { 140 141 widthTag = env.osm.get("est_width"); 141 142 } 142 if (widthTag != null) {143 if (widthTag != null) { 143 144 try { 144 145 realWidth = Float.valueOf(widthTag); 145 } 146 catch(NumberFormatException nfe) {146 } catch(NumberFormatException nfe) { 147 Main.warn(nfe); 147 148 } 148 149 }
Note:
See TracChangeset
for help on using the changeset viewer.