Changeset 7005 in josm for trunk/src/org/openstreetmap/josm/corrector/TagCorrector.java
- Timestamp:
- 2014-04-26T17:39:23+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/corrector/TagCorrector.java
r6944 r7005 57 57 58 58 if (!tagCorrectionsMap.isEmpty() || !roleCorrectionMap.isEmpty()) { 59 Collection<Command> commands = new ArrayList<Command>(); 60 Map<OsmPrimitive, TagCorrectionTable> tagTableMap = 61 new HashMap<OsmPrimitive, TagCorrectionTable>(); 62 Map<OsmPrimitive, RoleCorrectionTable> roleTableMap = 63 new HashMap<OsmPrimitive, RoleCorrectionTable>(); 59 Collection<Command> commands = new ArrayList<>(); 60 Map<OsmPrimitive, TagCorrectionTable> tagTableMap = new HashMap<>(); 61 Map<OsmPrimitive, RoleCorrectionTable> roleTableMap = new HashMap<>(); 64 62 65 63 final JPanel p = new JPanel(new GridBagLayout()); … … 108 106 } 109 107 110 final JLabel rolesLabel = new JLabel( 111 tr("Roles in relations referring to")); 108 final JLabel rolesLabel = new JLabel(tr("Roles in relations referring to")); 112 109 p.add(rolesLabel, GBC.std()); 113 110 … … 119 116 p.add(primitiveLabel, GBC.eol()); 120 117 121 final RoleCorrectionTable table = new RoleCorrectionTable( 122 roleCorrections); 118 final RoleCorrectionTable table = new RoleCorrectionTable(roleCorrections); 123 119 final JScrollPane scrollPane = new JScrollPane(table); 124 120 p.add(scrollPane, GBC.eop().fill(GBC.HORIZONTAL)); … … 156 152 // use this structure to remember keys that have been set already so that 157 153 // they're not dropped by a later step 158 Set<String> keysChanged = new HashSet< String>();154 Set<String> keysChanged = new HashSet<>(); 159 155 160 156 // apply all changes to this clone
Note:
See TracChangeset
for help on using the changeset viewer.