summaryrefslogtreecommitdiffstats
path: root/auth/auth-gui/src/main/java
diff options
context:
space:
mode:
authorHelenaLydon <helena.lydon@est.tech>2020-01-14 16:29:51 +0000
committerHelenaLydon <helena.lydon@est.tech>2020-01-28 11:42:33 +0000
commit82755753f41112e1cdd91b2994620ad074dfbf20 (patch)
treec3627ec49d29ba0ed5d3e317cdea4960b366485d /auth/auth-gui/src/main/java
parente78d297795f08d3ecdc176ff10c6c77570828e17 (diff)
Sonar Fixes: Variable name changes
Issue-ID: AAF-1040 Ticket for Sonar Fixes Change-Id: I48b764c1c7b6993ce18e693cd16522afb1e1c21d Signed-off-by: HelenaLydon <helena.lydon@est.tech>
Diffstat (limited to 'auth/auth-gui/src/main/java')
-rw-r--r--auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/AAF_GUI.java4
-rw-r--r--auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/Display.java4
2 files changed, 6 insertions, 2 deletions
diff --git a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/AAF_GUI.java b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/AAF_GUI.java
index d55047a3..8492b85f 100644
--- a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/AAF_GUI.java
+++ b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/AAF_GUI.java
@@ -132,8 +132,10 @@ public class AAF_GUI extends AbsService<AuthzEnv, AuthzTrans> implements State<E
env.put(sThemeWebPath,"theme");
}
+
slotHttpServletRequest = env.slot(HTTP_SERVLET_REQUEST);
- deployedVersion = app_version;
+ deployedVersion = appVersion;
+
// Certificate Manager
String aafUrlCm = env.getProperty(Config.AAF_URL_CM,Config.AAF_URL_CM_DEF);
diff --git a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/Display.java b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/Display.java
index 51909319..f0d2b071 100644
--- a/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/Display.java
+++ b/auth/auth-gui/src/main/java/org/onap/aaf/auth/gui/Display.java
@@ -89,6 +89,7 @@ public class Display {
} else {
// Transfer whether Page shouldn't be cached to local Final var.
+
final boolean noCache = page.noCache;
gui.route(gui.env, meth, page.url(),
@@ -139,7 +140,8 @@ public class Display {
}
@Override
- public boolean no_cache() {
+ public boolean noCache() {
+
return noCache;
}
}, "text/html","*/*");