Ignore:
Timestamp:
2013-07-30T18:35:47+02:00 (6 years ago)
Author:
akks
Message:

see #8902 - collection size ==/!= 0 -> isEmpty()/!isEmpty() (patch by shinigami)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2GridShiftFile.java

    r5874 r6093  
    184184        for (int i = 0; i < subGrid.length; i++) {
    185185            ArrayList<NTV2SubGrid> subSubGrids = subGridMap.get(subGrid[i].getSubGridName());
    186             if (subSubGrids.size() > 0) {
     186            if (!subSubGrids.isEmpty()) {
    187187                NTV2SubGrid[] subGridArray = subSubGrids.toArray(nullArray);
    188188                subGrid[i].setSubGridArray(subGridArray);
Note: See TracChangeset for help on using the changeset viewer.