Ignore:
Timestamp:
2017-11-01T19:35:45+01:00 (2 years ago)
Author:
Don-vip
Message:

sonar - fix a few issues

File:
1 edited

Legend:

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

    r13016 r13068  
    601601        // Dataset retrieving allows to call this code without relying on Main.getCurrentDataSet(), thus, on a mapview instance
    602602        if (!areas.isEmpty()) {
    603             ds = areas.iterator().next().getOuterWay().getDataSet();
     603            ds = areas.get(0).getOuterWay().getDataSet();
    604604        }
    605605
Note: See TracChangeset for help on using the changeset viewer.