Sonar Fixes: Variable name changes
[aaf/authz.git] / auth / auth-gui / src / main / java / org / onap / aaf / auth / gui / Display.java
index 74b5acc..f0d2b07 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,14 @@ 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
@@ -139,8 +140,9 @@ public class Display {
                     }
 
                     @Override
-                    public boolean no_cache() {
-                        return no_cache;
+                    public boolean noCache() {
+
+                        return noCache;
                     }
                 }, "text/html","*/*");
         }