From 66424b306877435b7e71e119a8d1498b4b263719 Mon Sep 17 00:00:00 2001 From: Instrumental Date: Sat, 13 Apr 2019 08:27:16 -0500 Subject: Improve Upload Batch Issue-ID: AAF-811 Change-Id: Ia2289c764d0c5a14627d58349397a121f1960703 Signed-off-by: Instrumental --- cadi/core/src/main/java/org/onap/aaf/cadi/util/CSV.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cadi') 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 be6d73d4..8172f425 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 @@ -122,6 +122,14 @@ public class CSV { escape = true; } break; + case 'n': + if(escape) { + sb.append("\\n"); + escape=false; + } else { + sb.append(c); + } + break; default: if(delimiter==c) { if(quotes) { -- cgit 1.2.3-korg