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/Symbols.java

    r32380 r32393  
    6969
    7070                public Scheme(ArrayList<Color> icol) {
    71                         pat = new ArrayList<Patt>();
     71                        pat = new ArrayList<>();
    7272                        col = icol;
    7373                }
     
    7777                }
    7878                public Scheme(Color icol) {
    79                         pat = new ArrayList<Patt>();
    80                         col = new ArrayList<Color>();
     79                        pat = new ArrayList<>();
     80                        col = new ArrayList<>();
    8181                        col.add(icol);
    8282                }
    8383                public Scheme() {
    84                         pat = new ArrayList<Patt>();
    85                         col = new ArrayList<Color>();
     84                        pat = new ArrayList<>();
     85                        col = new ArrayList<>();
    8686                }
    8787        }
Note: See TracChangeset for help on using the changeset viewer.