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

use diamond operator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/seachart/js57toosm/src/js57toosm/Js57toosm.java

    r31731 r32393  
    3030        static PrintStream out;
    3131        static S57map map;
    32         static final ArrayList<Att> typatts = new ArrayList<Att>(); static {
     32        static final ArrayList<Att> typatts = new ArrayList<>(); static {
    3333                typatts.add(Att.OBJNAM); typatts.add(Att.NOBJNM); typatts.add(Att.STATUS); typatts.add(Att.INFORM); typatts.add(Att.NINFOM);
    3434                typatts.add(Att.PEREND); typatts.add(Att.PERSTA); typatts.add(Att.CONDTN); typatts.add(Att.CONRAD); typatts.add(Att.CONVIS);
     
    3737        public static void main(String[] args) throws IOException {
    3838
    39                 ArrayList<Long> done = new ArrayList<Long>();
     39                ArrayList<Long> done = new ArrayList<>();
    4040
    4141                if (args.length < 3) {
     
    5656                        System.exit(-1);
    5757                }
    58                 ArrayList<Obj> types = new ArrayList<Obj>();
     58                ArrayList<Obj> types = new ArrayList<>();
    5959                try {
    6060                        Scanner tin = new Scanner(new FileInputStream(args[1]));
Note: See TracChangeset for help on using the changeset viewer.