summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThugutla sailakshmi <tsaila10@in.ibm.com>2019-10-31 17:03:27 +0530
committerJonathan Gathman <jonathan.gathman@att.com>2019-11-06 12:48:51 +0000
commitbc018fa2138f417e650ba81bd8f74c023be1df01 (patch)
tree6ce9c7f27d13757c0996807f7dddfd86011f8c01
parentbc5f9dec37da59182034c1166a6a9d4150f40847 (diff)
Extract the assignment out this expression
Issue-ID: AAF-876 Change-Id: I7dd0d8df4e302597e9dff74b1d1bc70943247696 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>
-rw-r--r--auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/CMArtiChangeAction.java3
1 files changed, 2 insertions, 1 deletions
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<Artifacts> 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);
}