Sonar Fixes
[aaf/authz.git] / auth / auth-gui / src / main / java / org / onap / aaf / auth / gui / Display.java
index 74b5acc..5190931 100644 (file)
@@ -56,7 +56,7 @@ public class Display {
                 new HttpCode<AuthzTrans,AAF_GUI>(gui,page.name()) {
                     @Override
                     public void handle(AuthzTrans trans, HttpServletRequest req, HttpServletResponse resp) throws Exception {
-                        trans.put(gui.slot_httpServletRequest, req);
+                        trans.put(gui.slotHttpServletRequest, req);
                         for (int i=0; i<fields.length;++i) {
                             int idx = fields[i].indexOf("[]");
                             if (idx<0) { // single value
@@ -89,13 +89,13 @@ public class Display {
 
         } else {
             // Transfer whether Page shouldn't be cached to local Final var.
-            final boolean no_cache = page.no_cache;
+            final boolean noCache = page.noCache;
 
             gui.route(gui.env, meth, page.url(),
                 new HttpCode<AuthzTrans,AAF_GUI>(gui,page.name()) {
                     @Override
                     public void handle(AuthzTrans trans, HttpServletRequest req, HttpServletResponse resp) throws Exception {
-                        trans.put(gui.slot_httpServletRequest, req);
+                        trans.put(gui.slotHttpServletRequest, req);
                         for (int i=0; i<slots.length;++i) {
                             int idx = fields[i].indexOf("[]");
                             if (idx<0) { // single value
@@ -140,7 +140,7 @@ public class Display {
 
                     @Override
                     public boolean no_cache() {
-                        return no_cache;
+                        return noCache;
                     }
                 }, "text/html","*/*");
         }