summaryrefslogtreecommitdiffstats
path: root/auth/auth-batch/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'auth/auth-batch/src/main/java')
-rw-r--r--auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/reports/bodies/AbsCredBody.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/reports/bodies/AbsCredBody.java b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/reports/bodies/AbsCredBody.java
index db45e206..6dd5bb25 100644
--- a/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/reports/bodies/AbsCredBody.java
+++ b/auth/auth-batch/src/main/java/org/onap/aaf/auth/batch/reports/bodies/AbsCredBody.java
@@ -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;