Changeset 9684 in josm


Ignore:
Timestamp:
2016-01-30T01:00:04+01:00 (6 years ago)
Author:
Don-vip
Message:

findbugs/sonar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java

    r9683 r9684  
    237237            Collection<String> c = Main.pref.getCollection("properties.recent-tags");
    238238            Iterator<String> it = c.iterator();
    239             String key, value;
    240239            while (it.hasNext()) {
    241                 key = it.next();
    242                 value = it.next();
     240                String key = it.next();
     241                String value = it.next();
    243242                recentTags.put(new Tag(key, value), null);
    244243            }
     
    725724                mainPanel.add(recentTagsPanel, GBC.eol().fill(GBC.HORIZONTAL));
    726725            } else {
    727                 Dimension panelOldSize = panelOldSize = recentTagsPanel.getPreferredSize();
     726                Dimension panelOldSize = recentTagsPanel.getPreferredSize();
    728727                recentTagsPanel.removeAll();
    729728                suggestRecentlyAddedTags();
Note: See TracChangeset for help on using the changeset viewer.