Ignore:
Timestamp:
2015-11-25T01:21:14+01:00 (8 years ago)
Author:
Don-vip
Message:

Sonar - squid:S1941 - Variables should not be declared before they are relevant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/corrector/TagCorrector.java

    r8919 r9062  
    139139            if (answer == JOptionPane.YES_OPTION) {
    140140                for (Entry<OsmPrimitive, List<TagCorrection>> entry : tagCorrectionsMap.entrySet()) {
    141                     List<TagCorrection> tagCorrections = entry.getValue();
    142141                    OsmPrimitive primitive = entry.getKey();
    143142
     
    158157
    159158                    // apply all changes to this clone
     159                    List<TagCorrection> tagCorrections = entry.getValue();
    160160                    for (int i = 0; i < tagCorrections.size(); i++) {
    161161                        if (tagTableMap.get(primitive).getCorrectionTableModel().getApply(i)) {
Note: See TracChangeset for help on using the changeset viewer.