From af4d41b40866fababa7fe059d63ba73720fccbac Mon Sep 17 00:00:00 2001 From: Instrumental Date: Tue, 22 Jan 2019 19:38:28 -0600 Subject: Failing JUs Issue-ID: AAF-709 Change-Id: Icbe68f143974034a050462101864e77ba9b5ce49 Signed-off-by: Instrumental --- .../main/java/org/onap/aaf/auth/batch/reports/bodies/AbsCredBody.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'auth/auth-batch/src/main/java') 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 row) { - if( (row != null) && !row.isEmpty()) { + if( (row != null) && row.size()>1) { return row.get(1); } return null; -- cgit 1.2.3-korg