Ignore:
Timestamp:
2014-04-26T17:39:23+02:00 (11 years ago)
Author:
Don-vip
Message:

see #8465 - use diamond operator where applicable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/CustomProjectionChoice.java

    r6890 r7005  
    7171                    "+proj=lonlat +ellps=WGS84 +datum=WGS84 +bounds=-180,-90,180,90",
    7272                    "+proj=tmerc +lat_0=0 +lon_0=9 +k_0=1 +x_0=3500000 +y_0=0 +ellps=bessel +nadgrids=BETA2007.gsb");
    73             List<String> inputHistory = new LinkedList<String>(Main.pref.getCollection("projection.custom.value.history", samples));
     73            List<String> inputHistory = new LinkedList<>(Main.pref.getCollection("projection.custom.value.history", samples));
    7474            Collections.reverse(inputHistory);
    7575            cbInput.setPossibleItems(inputHistory);
     
    194194
    195195        private String listKeys(Map<String, ?> map) {
    196             List<String> keys = new ArrayList<String>(map.keySet());
     196            List<String> keys = new ArrayList<>(map.keySet());
    197197            Collections.sort(keys);
    198198            return Utils.join(", ", keys);
Note: See TracChangeset for help on using the changeset viewer.