Ignore:
Timestamp:
2015-10-19T13:14:06+02:00 (9 years ago)
Author:
Don-vip
Message:

sonar minor fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ThumbsLoader.java

    r8840 r8905  
    5151        Main.debug("Load Thumbnails");
    5252        tracker = new MediaTracker(Main.map.mapView);
    53         for (int i = 0; i < data.size(); i++) {
     53        for (ImageEntry entry : data) {
    5454            if (stop) return;
    5555
    5656            // Do not load thumbnails that were loaded before.
    57             if (data.get(i).thumbnail == null) {
    58                 data.get(i).thumbnail = loadThumb(data.get(i));
     57            if (entry.thumbnail == null) {
     58                entry.thumbnail = loadThumb(entry);
    5959
    6060                if (Main.isDisplayingMapView()) {
Note: See TracChangeset for help on using the changeset viewer.