diff options
author | Jonathan Gathman <jonathan.gathman@att.com> | 2019-09-19 15:40:26 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-09-19 15:40:26 +0000 |
commit | 586d2253e528ad96cbf9817a1cd440874e7bc26c (patch) | |
tree | e573c653ba30f08e48817b414eac666a9971a77e /auth/auth-cmd/src | |
parent | 28fe822b2ac836ad3e75e0fa68fda29229ac4cfc (diff) | |
parent | f0ac0bd3a964f1d63d67b5333c7fac6960549f77 (diff) |
Merge "AAFcli.java-Merge the if statement with the existing one"
Diffstat (limited to 'auth/auth-cmd/src')
-rw-r--r-- | auth/auth-cmd/src/main/java/org/onap/aaf/auth/cmd/AAFcli.java | 6 |
1 files changed, 2 insertions, 4 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 44d86d3c..bd8f1a52 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 @@ -215,8 +215,7 @@ public class AAFcli { } } else if ("expect".equalsIgnoreCase(largs[idx])) { expect.clear(); - if (largs.length > idx++) { - if (!"nothing".equals(largs[idx])) { + if ((largs.length > idx++)&&(!"nothing".equals(largs[idx]))) { for (String str : largs[idx].split(",")) { try { if ("Exception".equalsIgnoreCase(str)) { @@ -229,8 +228,7 @@ public class AAFcli { } } ++idx; - } - } + } continue; // Sleep, typically for reports, to allow DB to update // Milliseconds |