From e0d8df565b105237a584ab5ca832fe2d39329231 Mon Sep 17 00:00:00 2001 From: Maciej Wejs Date: Thu, 12 Jul 2018 14:02:19 +0200 Subject: System dependent separators Added handling of system dependent separators in places they currently cause JU fail on non-Unix systems. Change-Id: I7331a76945a90c255805d0a3e39960444a2ee65b Issue-ID: AAF-387 Signed-off-by: Maciej Wejs --- cadi/core/src/main/java/org/onap/aaf/cadi/Symm.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cadi/core') diff --git a/cadi/core/src/main/java/org/onap/aaf/cadi/Symm.java b/cadi/core/src/main/java/org/onap/aaf/cadi/Symm.java index 4067f160..07652d24 100644 --- a/cadi/core/src/main/java/org/onap/aaf/cadi/Symm.java +++ b/cadi/core/src/main/java/org/onap/aaf/cadi/Symm.java @@ -483,7 +483,8 @@ public class Symm { switch(read) { case -1: case '=': - case '\n': + case '\n': + case '\r': return -1; } for(int i=0;i