Last change
on this file since 2853 was 1614, checked in by stoecker, 15 years ago |
fix #2642 - patch by Teemu Koskinen - TagCorrector didn't work properly when a way has multiple roles in one relation
|
File size:
654 bytes
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.corrector;
|
---|
3 |
|
---|
4 | import org.openstreetmap.josm.data.osm.Relation;
|
---|
5 | import org.openstreetmap.josm.data.osm.RelationMember;
|
---|
6 |
|
---|
7 | public class RoleCorrection implements Correction {
|
---|
8 |
|
---|
9 | public final Relation relation;
|
---|
10 | public final int position;
|
---|
11 | public final RelationMember member;
|
---|
12 | public final String newRole;
|
---|
13 |
|
---|
14 | public RoleCorrection(Relation relation, int position,
|
---|
15 | RelationMember member, String newRole) {
|
---|
16 | this.relation = relation;
|
---|
17 | this.position = position;
|
---|
18 | this.member = member;
|
---|
19 | this.newRole = newRole;
|
---|
20 | }
|
---|
21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.