summaryrefslogtreecommitdiffstats
path: root/auth
diff options
context:
space:
mode:
authorSai Gandham <sai.gandham@att.com>2019-07-03 16:15:49 +0000
committerGerrit Code Review <gerrit@onap.org>2019-07-03 16:15:49 +0000
commita2bfcc602e81113347e9919b59e5e917d1ed2542 (patch)
treeaefc3cf8b6daf14654c9cd7addc5c62d3065c5a0 /auth
parent82093b06399d9a57cd7e486e9fbeeea9d026cc7c (diff)
parente1293ae0c53791a2189e372048e4dd4023a4b0f3 (diff)
Merge "Approval page flaw"
Diffstat (limited to 'auth')
-rw-r--r--auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/ApiDocs.java1
-rw-r--r--auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/ApprovalForm.java4
2 files changed, 2 insertions, 3 deletions
diff --git a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/ApiDocs.java b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/ApiDocs.java
index 106c3889..39e4d0b6 100644
--- a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/ApiDocs.java
+++ b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/ApiDocs.java
@@ -25,7 +25,6 @@ import java.io.IOException;
import java.net.ConnectException;
import java.util.ArrayList;
import java.util.Collections;
-import java.util.Comparator;
import org.onap.aaf.auth.env.AuthzTrans;
import org.onap.aaf.auth.gui.AAF_GUI;
diff --git a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/ApprovalForm.java b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/ApprovalForm.java
index e047a22a..332ecafe 100644
--- a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/ApprovalForm.java
+++ b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/ApprovalForm.java
@@ -282,9 +282,8 @@ public class ApprovalForm extends Page {
// title);
} else {
- userCell = new TextCell(prevUser==null?user:prevUser);
+ userCell = new TextCell(user);
}
- prevUser=user;
AbsCell[] sa = new AbsCell[] {
userCell,
new TextCell(appr.getMemo()),
@@ -292,6 +291,7 @@ public class ApprovalForm extends Page {
new RadioCell("line."+ line,"deny", "denied|"+appr.getTicket())
};
rv.add(sa);
+ prevUser=user;
} else {
++numLeft;
}