From bc018fa2138f417e650ba81bd8f74c023be1df01 Mon Sep 17 00:00:00 2001 From: Thugutla sailakshmi Date: Thu, 31 Oct 2019 17:03:27 +0530 Subject: Extract the assignment out this expression Issue-ID: AAF-876 Change-Id: I7dd0d8df4e302597e9dff74b1d1bc70943247696 Signed-off-by: Thugutla sailakshmi --- .../src/main/java/org/onap/aaf/auth/gui/pages/CMArtiChangeAction.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/CMArtiChangeAction.java b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/CMArtiChangeAction.java index 8f3fe958..c19820d3 100644 --- a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/CMArtiChangeAction.java +++ b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/CMArtiChangeAction.java @@ -149,7 +149,8 @@ public class CMArtiChangeAction extends Page { break; case CMArtiChangeForm.UPDATE: Future fu = client.update("/cert/artifacts", gui.artifactsDF, artifacts); - if ((rv=fu).get(AAFcli.timeout())) { + rv=fu; + if(rv.get(AAFcli.timeout())) { hgen.p("Artifact " + arti.getMechid() + " on " + arti.getMachine() + " is updated"); ok.set(true); } -- cgit 1.2.3-korg