diff options
author | Maciej Wejs <maciej.wejs@nokia.com> | 2018-07-12 14:02:19 +0200 |
---|---|---|
committer | Maciej Wejs <maciej.wejs@nokia.com> | 2018-07-12 14:03:21 +0200 |
commit | e0d8df565b105237a584ab5ca832fe2d39329231 (patch) | |
tree | 3a9d0e20d7e306ff3424bcf2438ae9ae669b5701 /cadi/core/src | |
parent | 656c303eeb020d0763996a71d8a9705357013eb6 (diff) |
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 <maciej.wejs@nokia.com>
Diffstat (limited to 'cadi/core/src')
-rw-r--r-- | cadi/core/src/main/java/org/onap/aaf/cadi/Symm.java | 3 |
1 files changed, 2 insertions, 1 deletions
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<codec.length;++i) { |