Ignore:
Timestamp:
2010-07-25T16:00:01+02:00 (9 years ago)
Author:
jttt
Message:

Fix warnings

File:
1 edited

Legend:

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

    r3210 r3385  
    4141 * confirm these changes.
    4242 */
    43  
     43
    4444public abstract class TagCorrector<P extends OsmPrimitive> {
    4545
     
    7676            p.add(label2, GBC.eop().anchor(GBC.CENTER));
    7777
    78             for (OsmPrimitive primitive : tagCorrectionsMap.keySet()) {
    79                 final List<TagCorrection> tagCorrections = tagCorrectionsMap
    80                 .get(primitive);
     78            for (Entry<OsmPrimitive, List<TagCorrection>> entry : tagCorrectionsMap.entrySet()) {
     79                final OsmPrimitive primitive = entry.getKey();
     80                final List<TagCorrection> tagCorrections = entry.getValue();
    8181
    8282                if (tagCorrections.isEmpty()) {
     
    102102            }
    103103
    104             for (OsmPrimitive primitive : roleCorrectionMap.keySet()) {
    105                 final List<RoleCorrection> roleCorrections = roleCorrectionMap
    106                 .get(primitive);
     104            for (Entry<OsmPrimitive, List<RoleCorrection>> entry : roleCorrectionMap.entrySet()) {
     105                final OsmPrimitive primitive = entry.getKey();
     106                final List<RoleCorrection> roleCorrections = entry.getValue();
     107
    107108                if (roleCorrections.isEmpty()) {
    108109                    continue;
Note: See TracChangeset for help on using the changeset viewer.