Changeset 8374 in josm for trunk/src/org/openstreetmap/josm/corrector
- Timestamp:
- 2015-05-17T02:56:15+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/corrector
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/corrector/ReverseWayNoTagCorrector.java
r7937 r8374 51 51 * @return tags that imply a semantic meaning from <code>way</code> direction and cannot be changed 52 52 */ 53 public static finalTagCollection getDirectionalTags(Way way) {53 public static TagCollection getDirectionalTags(Way way) { 54 54 return directionalTags.intersect(TagCollection.from(way)); 55 55 } -
trunk/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java
r8180 r8374 103 103 * @return The reversed tag (is equal to <code>tag</code> if no change is needed) 104 104 */ 105 public static finalTag apply(final Tag tag) {105 public static Tag apply(final Tag tag) { 106 106 return apply(tag.getKey(), tag.getValue()); 107 107 } … … 113 113 * @return The reversed tag (is equal to <code>key=value</code> if no change is needed) 114 114 */ 115 public static finalTag apply(final String key, final String value) {115 public static Tag apply(final String key, final String value) { 116 116 String newKey = key; 117 117 String newValue = value;
Note: See TracChangeset
for help on using the changeset viewer.