summaryrefslogtreecommitdiffstats
path: root/auth/auth-gui/src
diff options
context:
space:
mode:
authorJonathan Gathman <jonathan.gathman@att.com>2019-11-06 12:49:36 +0000
committerGerrit Code Review <gerrit@onap.org>2019-11-06 12:49:36 +0000
commit2c45085527e00ca1f6b88ee2d3bf1e2ae9198efa (patch)
treea609ecd3effbcad8b613b228f39aae2f42d0fe97 /auth/auth-gui/src
parentbd2045393aea05ad7f5c767fc553e2f7bfdabb1d (diff)
parentbc018fa2138f417e650ba81bd8f74c023be1df01 (diff)
Merge "Extract the assignment out this expression Issue-ID: AAF-876 Change-Id: I7dd0d8df4e302597e9dff74b1d1bc70943247696 Signed-off-by: Thugutla sailakshmi <tsaila10@in.ibm.com>"
Diffstat (limited to 'auth/auth-gui/src')
-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);
}