diff options
author | Instrumental <jonathan.gathman@att.com> | 2019-04-13 08:27:16 -0500 |
---|---|---|
committer | Instrumental <jonathan.gathman@att.com> | 2019-04-13 09:35:19 -0500 |
commit | 66424b306877435b7e71e119a8d1498b4b263719 (patch) | |
tree | 2b13bc6c9968fb7e09e748f979ba4799bbfa2fe1 /cadi/core/src/main | |
parent | d087d3ddd2829ced1d2ffccc5147c377cbcc92cb (diff) |
Improve Upload Batch
Issue-ID: AAF-811
Change-Id: Ia2289c764d0c5a14627d58349397a121f1960703
Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'cadi/core/src/main')
-rw-r--r-- | cadi/core/src/main/java/org/onap/aaf/cadi/util/CSV.java | 8 |
1 files changed, 8 insertions, 0 deletions
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) { |