Ignore:
Timestamp:
2016-07-26T02:17:04+02:00 (3 years ago)
Author:
Don-vip
Message:

see #11390 - use functional comparators

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/io/SaveLayersModel.java

    r10619 r10647  
    66import java.io.File;
    77import java.util.ArrayList;
     8import java.util.Comparator;
    89import java.util.List;
    910
     
    7071            layerInfo.add(new SaveLayerInfo(layer));
    7172        }
    72         layerInfo.sort((o1, o2) -> o1.compareTo(o2));
     73        layerInfo.sort(Comparator.naturalOrder());
    7374        fireTableDataChanged();
    7475    }
Note: See TracChangeset for help on using the changeset viewer.