< prev index next >

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

Print this page

    *** 45,62 ****
              mtl = mtlFile;
          }

          private void init() {
              if (table == null) {
    !             table = new HashMap<String, ArrayList<String>>();
                  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>();
                          String testName = null;
                          if (st.hasMoreTokens()) {
                              testName = st.nextToken();
                          }
                          while (st.hasMoreTokens()) {
    --- 45,62 ----
              mtl = mtlFile;
          }

          private void init() {
              if (table == null) {
    !             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 testName = null;
                          if (st.hasMoreTokens()) {
                              testName = st.nextToken();
                          }
                          while (st.hasMoreTokens()) {

< prev index next >