< prev index next >

## src/com/sun/javatest/cof/MTL.java

Print this page

    @@ -45,18 +45,18 @@
             mtl = mtlFile;
         }

         private void init() {
             if (table == null) {
    -            table = new HashMap<String, ArrayList<String>>();
    +            table = new HashMap<>();
                 BufferedReader r = null;
                 try {
                     r = new BufferedReader(new InputStreamReader(new FileInputStream(mtl), StandardCharsets.UTF_8));
                     String line;
                     while ((line = r.readLine()) != null) {
                         StringTokenizer st = new StringTokenizer(line);
    -                    ArrayList<String> cases = new ArrayList<String>();
    +                    ArrayList<String> cases = new ArrayList<>();
                         String testName = null;
                         if (st.hasMoreTokens()) {
                             testName = st.nextToken();
                         }
                         while (st.hasMoreTokens()) {

< prev index next >