From b24f7e097f17761a5c1b02c4dbfe6ee7d78836dd Mon Sep 17 00:00:00 2001 From: Instrumental Date: Sun, 10 Feb 2019 09:54:15 -0600 Subject: Add Cred Reporting Mailer Issue-ID: AAF-740,AAF-753,AAF-754 Change-Id: If2efc6ffbfa9897581ea00eb148fa61d793b058e Signed-off-by: Instrumental --- cadi/core/src/main/java/org/onap/aaf/cadi/util/CSV.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cadi/core') diff --git a/cadi/core/src/main/java/org/onap/aaf/cadi/util/CSV.java b/cadi/core/src/main/java/org/onap/aaf/cadi/util/CSV.java index a834db51..e17b49ec 100644 --- a/cadi/core/src/main/java/org/onap/aaf/cadi/util/CSV.java +++ b/cadi/core/src/main/java/org/onap/aaf/cadi/util/CSV.java @@ -85,7 +85,7 @@ public class CSV { List row = new ArrayList<>(); boolean quotes=false; boolean escape=false; - char c; + char c = 0; for(int i=0;i0) { + if(sb.length()>0 || c==',') { row.add(sb.toString()); sb.setLength(0); } -- cgit 1.2.3-korg