Failing JUs
[aaf/authz.git] / auth / auth-batch / src / main / java / org / onap / aaf / auth / batch / reports / bodies / AbsCredBody.java
index db45e20..6dd5bb2 100644 (file)
@@ -22,7 +22,6 @@
  */
 package org.onap.aaf.auth.batch.reports.bodies;
 
-import java.io.IOException;
 import java.util.List;
 
 public abstract class AbsCredBody extends NotifyBody {
@@ -33,7 +32,7 @@ public abstract class AbsCredBody extends NotifyBody {
 
        @Override
        public String user(List<String> row) {
-               if( (row != null) && !row.isEmpty()) {
+               if( (row != null) && row.size()>1) {
                        return row.get(1);
                }
                return null;