Approval Batch, prep better JUnit
[aaf/authz.git] / auth / auth-batch / src / main / java / org / onap / aaf / auth / batch / reports / Notify.java
index daf5192..f8d9888 100644 (file)
@@ -95,7 +95,7 @@ public class Notify extends Batch {
                NotifyBody.load(env.access());
                
         // Create Intermediate Output 
-        File logDir = new File(logDir());
+        File logDir = logDir();
         notifyFile = new ArrayList<>();
         if(args().length>0) {
                for(int i=0;i<args().length;++i) {
@@ -120,7 +120,7 @@ public class Notify extends Batch {
                
                try {
                        for(File f : notifyFile) {
-                               CSV csv = new CSV(f);
+                               CSV csv = new CSV(env.access(),f);
                                try {
                                        csv.visit(new CSV.Visitor() {
                                                @Override