Ignore:
Timestamp:
2017-05-15T22:57:02+02:00 (2 years ago)
Author:
michael2402
Message:

Add javadoc to OsmUtils, fix constant naming.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java

    r11069 r12187  
    142142            if (key.startsWith("oneway") || key.endsWith("oneway")) {
    143143                if (OsmUtils.isReversed(value)) {
    144                     newValue = OsmUtils.trueval;
     144                    newValue = OsmUtils.TRUE_VALUE;
    145145                } else if (OsmUtils.isTrue(value)) {
    146                     newValue = OsmUtils.reverseval;
     146                    newValue = OsmUtils.REVERSE_VALUE;
    147147                }
    148148                newKey = COMBINED_SWITCHERS.apply(key);
     
    264264    static Map<OsmPrimitive, List<TagCorrection>> getTagCorrectionsMap(Way way) {
    265265        Map<OsmPrimitive, List<TagCorrection>> tagCorrectionsMap = new HashMap<>();
    266         List<TagCorrection> tagCorrections = getTagCorrections((Tagged) way);
     266        List<TagCorrection> tagCorrections = getTagCorrections(way);
    267267        if (!tagCorrections.isEmpty()) {
    268268            tagCorrectionsMap.put(way, tagCorrections);
Note: See TracChangeset for help on using the changeset viewer.