Changeset 35669 in osm for applications/editors/josm/plugins/buildings_tools/src
- Timestamp:
- 2020-12-07T18:28:49+01:00 (4 years ago)
- Location:
- applications/editors/josm/plugins/buildings_tools/src/org/openstreetmap/josm/plugins/buildings_tools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/buildings_tools/src/org/openstreetmap/josm/plugins/buildings_tools/AdvancedSettingsDialog.java
r35171 r35669 4 4 import static org.openstreetmap.josm.tools.I18n.tr; 5 5 6 import java.util.Map .Entry;6 import java.util.Map; 7 7 8 8 import javax.swing.JCheckBox; … … 26 26 panel.add(new JLabel(tr("Buildings tags:")), GBC.eol().fill(GBC.HORIZONTAL)); 27 27 28 for (Entry<String, String> entry : ToolSettings.getTags().entrySet()) { 28 for (Map.Entry<String, String> entry : ToolSettings.getTags().entrySet()) { 29 29 tagsModel.add(entry.getKey(), entry.getValue()); 30 30 } -
applications/editors/josm/plugins/buildings_tools/src/org/openstreetmap/josm/plugins/buildings_tools/DrawBuildingAction.java
r35171 r35669 20 20 import java.util.Collection; 21 21 import java.util.LinkedList; 22 import java.util.Map .Entry;22 import java.util.Map; 23 23 24 24 import org.openstreetmap.josm.actions.mapmode.MapMode; … … 327 327 if (w != null) { 328 328 if (!alt || ToolSettings.isUsingAddr()) 329 for (Entry<String, String> kv : ToolSettings.getTags().entrySet()) { 329 for (Map.Entry<String, String> kv : ToolSettings.getTags().entrySet()) { 330 330 w.put(kv.getKey(), kv.getValue()); 331 331 } -
applications/editors/josm/plugins/buildings_tools/src/org/openstreetmap/josm/plugins/buildings_tools/MergeAddrPointsAction.java
r35668 r35669 15 15 import java.util.List; 16 16 import java.util.Map; 17 import java.util.Map.Entry;18 17 import java.util.Set; 19 18 import java.util.stream.Collectors; … … 134 133 boolean hasConflicts = false; 135 134 Map<String, String> tags = new HashMap<>(); 136 for (Entry<String, String> entry : mergeNode.getKeys().entrySet()) { 135 for (Map.Entry<String, String> entry : mergeNode.getKeys().entrySet()) { 137 136 String newValue = entry.getValue(); 138 137 if (newValue == null) -
applications/editors/josm/plugins/buildings_tools/src/org/openstreetmap/josm/plugins/buildings_tools/ToolSettings.java
r35666 r35669 8 8 import java.util.Iterator; 9 9 import java.util.Map; 10 import java.util.Map.Entry;11 10 import java.util.NoSuchElementException; 12 11 … … 69 68 TAGS.putAll(tags); 70 69 ArrayList<String> values = new ArrayList<>(TAGS.size() * 2); 71 for (Entry<String, String> entry : TAGS.entrySet()) { 70 for (Map.Entry<String, String> entry : TAGS.entrySet()) { 72 71 values.add(entry.getKey()); 73 72 values.add(entry.getValue());
Note:
See TracChangeset
for help on using the changeset viewer.