Ignore:
Timestamp:
2016-06-24T02:19:11+02:00 (10 years ago)
Author:
donvip
Message:

use diamond operator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/seachart/src/symbols/Landmarks.java

    r32095 r32393  
    187187        }
    188188       
    189         public static final EnumMap<CatLMK, Symbol> Shapes = new EnumMap<CatLMK, Symbol>(CatLMK.class);
     189        public static final EnumMap<CatLMK, Symbol> Shapes = new EnumMap<>(CatLMK.class);
    190190        static {
    191191                Shapes.put(CatLMK.LMK_CARN, Beacons.Cairn); Shapes.put(CatLMK.LMK_CHMY, Landmarks.Chimney);
     
    198198        }
    199199
    200         public static final EnumMap<FncFNC, Symbol> Funcs = new EnumMap<FncFNC, Symbol>(FncFNC.class);
     200        public static final EnumMap<FncFNC, Symbol> Funcs = new EnumMap<>(FncFNC.class);
    201201        static {
    202202                Funcs.put(FncFNC.FNC_CHCH, Landmarks.Church); Funcs.put(FncFNC.FNC_CHPL, Landmarks.Church); Funcs.put(FncFNC.FNC_TMPL, Landmarks.Temple);
Note: See TracChangeset for help on using the changeset viewer.