Ignore:
Timestamp:
2015-07-08T13:30:32+02:00 (5 years ago)
Author:
Don-vip
Message:

checkstyle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AddImageryLayerAction.java

    r8576 r8582  
    122122                    tree.getSelectedLayers(), (String) formats.getSelectedItem());
    123123            Set<String> supportedCrs = new HashSet<>();
    124             {
    125                 boolean first = true;
    126                 for(LayerDetails layer: tree.getSelectedLayers()) {
    127                     if (first) {
    128                         supportedCrs.addAll(layer.getProjections());
    129                         first = false;
    130                     }
    131                     supportedCrs.retainAll(layer.getProjections());
     124            boolean first = true;
     125            for (LayerDetails layer: tree.getSelectedLayers()) {
     126                if (first) {
     127                    supportedCrs.addAll(layer.getProjections());
     128                    first = false;
    132129                }
     130                supportedCrs.retainAll(layer.getProjections());
    133131            }
    134132            ImageryInfo ret = new ImageryInfo(info.getName(), url, "wms", info.getEulaAcceptanceRequired(), info.getCookies());
Note: See TracChangeset for help on using the changeset viewer.