summaryrefslogtreecommitdiffstats
path: root/auth
diff options
context:
space:
mode:
authorJonathan Gathman <jonathan.gathman@att.com>2019-09-19 15:40:01 +0000
committerGerrit Code Review <gerrit@onap.org>2019-09-19 15:40:01 +0000
commit28fe822b2ac836ad3e75e0fa68fda29229ac4cfc (patch)
tree23bbdbf159775130b891969f2bdb7e6dd2bcb644 /auth
parentd06380ed44ae90707185dce2cd2be3aef3c89104 (diff)
parent63d17a4c0bb0cfe76b5d1f703a9ce3ec02a52674 (diff)
Merge "AAFcli.java -Extract the assignment out of this expression"
Diffstat (limited to 'auth')
-rw-r--r--auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/AAFcli.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/AAFcli.java b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/AAFcli.java
index 6ca37c33..44d86d3c 100644
--- a/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/AAFcli.java
+++ b/auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/AAFcli.java
@@ -4,7 +4,7 @@
* ===========================================================================
* Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
*
- * Modifications Copyright (C) 2018 IBM.
+ * Modifications Copyright (C) 2019 IBM.
* ===========================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -376,7 +376,8 @@ public class AAFcli {
char last = 0;
for (int i = 0; i < line.length(); ++i) {
char ch;
- if (Character.isWhitespace(ch = line.charAt(i))) {
+ ch = line.charAt(i);
+ if (Character.isWhitespace(ch)) {
if (start || last==',') {
continue; // trim
} else if (quote != 0) {