Changeset 33900 in osm for applications/editors
- Timestamp:
- 2017-11-25T01:51:10+01:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/public_transport_layer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/public_transport_layer/build.xml
r33527 r33900 3 3 4 4 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 5 <property name="plugin.main.version" value="12 663"/>5 <property name="plugin.main.version" value="12840"/> 6 6 7 7 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/public_transport_layer/src/ptl/DistanceBetweenStops.java
r33527 r33900 72 72 int lengthN = 0; 73 73 final boolean onlyLowerUnit = Main.pref.getBoolean("system_of_measurement.use_only_lower_unit", false); 74 Main.pref.put ("system_of_measurement.use_only_lower_unit", true);74 Main.pref.putBoolean("system_of_measurement.use_only_lower_unit", true); 75 75 try { 76 76 for (Node n : stopNodes) { … … 102 102 sb.insert(0, SystemOfMeasurement.getSystemOfMeasurement().getDistText(totalLength / lengthN, new DecimalFormat("0"), -1)); 103 103 } finally { 104 Main.pref.put ("system_of_measurement.use_only_lower_unit", onlyLowerUnit);104 Main.pref.putBoolean("system_of_measurement.use_only_lower_unit", onlyLowerUnit); 105 105 } 106 106
Note:
See TracChangeset
for help on using the changeset viewer.