From: Instrumental Date: Wed, 29 May 2019 16:25:03 +0000 (-0500) Subject: fix another minor Sonar X-Git-Tag: 2.1.15~38 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aaf%2Fauthz.git;a=commitdiff_plain;h=2fedc6d93206113e52f29fb84a721eb94ec0e177 fix another minor Sonar Issue-ID: AAF-835 Change-Id: I923b05c702060dea0b23aa343a7203782511d52f Signed-off-by: Instrumental --- 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 cache, final HTMLGen htmlGen) throws APIException, IOException {