Sonar Fixes, Formatting
[aaf/authz.git] / auth / auth-core / src / test / java / org / onap / aaf / auth / local / test / JU_DataFile.java
index d0094db..8f0ff02 100644 (file)
@@ -7,9 +7,9 @@
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -18,6 +18,7 @@
  * ============LICENSE_END====================================================
  *
  */
+
 package org.onap.aaf.auth.local.test;
 
 import java.io.File;
@@ -32,39 +33,39 @@ import org.onap.aaf.auth.local.DataFile.Token.Field;
 
 public class JU_DataFile {
 
-       @AfterClass
-       public static void tearDownAfterClass() throws Exception {
-       }
+    @AfterClass
+    public static void tearDownAfterClass() throws Exception {
+    }
 
-//     @Test
-//     public void netYetTested() {
-//             fail("Tests not yet implemented");
-//     }
-       
-//     @Test
-//     public void test() throws Exception {
-//             File file = new File("../authz-batch/data/v1.dat");
-//             DataFile df = new DataFile(file,"r");
-//             int count = 0;
-//             List<String> list = new ArrayList<String>();
-//             try {
-//                     df.open();
-//                     Token tok = df.new Token(1024000);
-//                     Field fld = tok.new Field('|');
-//     
-//                     while(tok.nextLine()) {
-//                             ++count;
-//                             fld.reset();
-//                             list.add(fld.at(0));
-//                     }
-////                   Collections.sort(list);
-//                     for(String s: list) {
-//                             System.out.println(s);
+//    @Test
+//    public void netYetTested() {
+//        fail("Tests not yet implemented");
+//    }
+
+//    @Test
+//    public void test() throws Exception {
+//        File file = new File("../authz-batch/data/v1.dat");
+//        DataFile df = new DataFile(file,"r");
+//        int count = 0;
+//        List<String> list = new ArrayList<>();
+//        try {
+//            df.open();
+//            Token tok = df.new Token(1024000);
+//            Field fld = tok.new Field('|');
+//
+//            while (tok.nextLine()) {
+//                ++count;
+//                fld.reset();
+//                list.add(fld.at(0));
+//            }
+////            Collections.sort(list);
+//            for (String s: list) {
+//                System.out.println(s);
 //
-//                     }
-//             } finally {
-//                     System.out.printf("%15s:%12d\n","Total",count);
-//             }
-//     }
+//            }
+//        } finally {
+//            System.out.printf("%15s:%12d\n","Total",count);
+//        }
+//    }
 
 }