Ticket #14374: plugin.diff
File plugin.diff, 3.0 KB (added by , 8 years ago) |
---|
-
plugins/merge-overlap/src/mergeoverlap/MergeOverlapAction.java
1 1 package mergeoverlap; 2 2 3 import static org.openstreetmap.josm.gui.conflict.tags.TagConflictResolutionUtil. combineTigerTags;3 import static org.openstreetmap.josm.gui.conflict.tags.TagConflictResolutionUtil.applyAutomaticTagConflictResolution; 4 4 import static org.openstreetmap.josm.gui.conflict.tags.TagConflictResolutionUtil.completeTagCollectionForEditing; 5 5 import static org.openstreetmap.josm.gui.conflict.tags.TagConflictResolutionUtil.normalizeTagCollectionBeforeEditing; 6 6 import static org.openstreetmap.josm.tools.I18n.tr; … … 543 543 modifiedTargetWay.setNodes(path); 544 544 545 545 TagCollection completeWayTags = new TagCollection(wayTags); 546 combineTigerTags(completeWayTags);546 applyAutomaticTagConflictResolution(completeWayTags); 547 547 normalizeTagCollectionBeforeEditing(completeWayTags, ways); 548 548 TagCollection tagsToEdit = new TagCollection(completeWayTags); 549 549 completeTagCollectionForEditing(tagsToEdit); -
plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/datasets/WayCombiner.java
1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.plugins.opendata.core.datasets; 3 3 4 import static org.openstreetmap.josm.gui.conflict.tags.TagConflictResolutionUtil.combineTigerTags;5 4 import static org.openstreetmap.josm.gui.conflict.tags.TagConflictResolutionUtil.completeTagCollectionForEditing; 6 5 import static org.openstreetmap.josm.gui.conflict.tags.TagConflictResolutionUtil.normalizeTagCollectionBeforeEditing; 7 6 … … 22 21 import org.openstreetmap.josm.data.osm.TagCollection; 23 22 import org.openstreetmap.josm.data.osm.Way; 24 23 import org.openstreetmap.josm.gui.conflict.tags.CombinePrimitiveResolverDialog; 24 import org.openstreetmap.josm.gui.conflict.tags.TagConflictResolutionUtil; 25 25 import org.openstreetmap.josm.tools.UserCancelException; 26 26 27 27 // FIXME: Try to refactor CombineWayAction instead of using this class … … 125 125 modifiedTargetWay.setNodes(path); 126 126 127 127 TagCollection completeWayTags = new TagCollection(wayTags); 128 combineTigerTags(completeWayTags);128 TagConflictResolutionUtil.applyAutomaticTagConflictResolution(completeWayTags); 129 129 normalizeTagCollectionBeforeEditing(completeWayTags, ways); 130 130 TagCollection tagsToEdit = new TagCollection(completeWayTags); 131 131 completeTagCollectionForEditing(tagsToEdit);