Ignore:
Timestamp:
2017-11-25T01:51:10+01:00 (8 years ago)
Author:
donvip
Message:

update to JOSM 12840

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/public_transport_layer/src/ptl/DistanceBetweenStops.java

    r33527 r33900  
    7272        int lengthN = 0;
    7373        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);
    7575        try {
    7676            for (Node n : stopNodes) {
     
    102102            sb.insert(0, SystemOfMeasurement.getSystemOfMeasurement().getDistText(totalLength / lengthN, new DecimalFormat("0"), -1));
    103103        } 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);
    105105        }
    106106
Note: See TracChangeset for help on using the changeset viewer.