From: Thugutla sailakshmi Date: Wed, 18 Sep 2019 14:00:40 +0000 (+0530) Subject: AAFcli.java -Extract the assignment out of this expression X-Git-Tag: 2.1.17~116^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F20%2F95920%2F1;p=aaf%2Fauthz.git AAFcli.java -Extract the assignment out of this expression AAFcli.java -Extract the assignment out of this expression Issue-ID: AAF-876 Change-Id: Idee610c4076e07619481302ee1489394521fb8ed Signed-off-by: Thugutla sailakshmi --- 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) {