summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2019-05-29 11:25:03 -0500
committerInstrumental <jonathan.gathman@att.com>2019-05-29 11:25:27 -0500
commit2fedc6d93206113e52f29fb84a721eb94ec0e177 (patch)
tree632f2ce6d0600c4749ce3c80ef4302429b7b442a
parentba331a70f03bb5bf93fdb83a1ff221bdbf817749 (diff)
fix another minor Sonar
Issue-ID: AAF-835 Change-Id: I923b05c702060dea0b23aa343a7203782511d52f Signed-off-by: Instrumental <jonathan.gathman@att.com>
-rw-r--r--auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/Home.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/Home.java b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/Home.java
index e7a643ca..6fc4b5c1 100644
--- a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/Home.java
+++ b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/pages/Home.java
@@ -40,7 +40,7 @@ public class Home extends Page {
/*
* Relative path, Menu Name, Full Path
*/
- public static String[][] MENU_ITEMS = new String[][] {
+ public static final String[][] MENU_ITEMS = new String[][] {
{"myperms","My Permissions","/gui/myperms"},
{"myroles","My Roles","/gui/myroles"},
{"ns","My Namespaces","/gui/ns"},
@@ -52,7 +52,8 @@ public class Home extends Page {
{"cui","Command Prompt","/gui/cui"},
{"api","AAF API","/gui/api"}
};
- public Home(final AAF_GUI gui) throws APIException, IOException {
+
+ public Home(final AAF_GUI gui) throws APIException, IOException {
super(gui.env,"Home",HREF, NO_FIELDS, new NamedCode(false,"content") {
@Override
public void code(final Cache<HTMLGen> cache, final HTMLGen htmlGen) throws APIException, IOException {