Mass removal of all Tabs (Style Warnings)
[aaf/authz.git] / auth / auth-core / src / main / java / org / onap / aaf / auth / rserv / CodeSetter.java
index 6ea8880..1c171fd 100644 (file)
@@ -31,22 +31,22 @@ import org.onap.aaf.misc.env.Trans;
 
 // Package on purpose.  only want between RServlet and Routes
 class CodeSetter<TRANS extends Trans> {
-       private HttpCode<TRANS,?> code;
-       private TRANS trans;
-       private HttpServletRequest req;
-       private HttpServletResponse resp;
-       public CodeSetter(TRANS trans, HttpServletRequest req, HttpServletResponse resp) {
-               this.trans = trans;
-               this.req = req;
-               this.resp = resp;
-                               
-       }
-       public boolean matches(Route<TRANS> route) throws IOException, ServletException {
-               // Find best Code in Route based on "Accepts (Get) or Content-Type" (if exists)
-               return (code = route.getCode(trans, req, resp))!=null;
-       }
-       
-       public HttpCode<TRANS,?> code() {
-               return code;
-       }
+    private HttpCode<TRANS,?> code;
+    private TRANS trans;
+    private HttpServletRequest req;
+    private HttpServletResponse resp;
+    public CodeSetter(TRANS trans, HttpServletRequest req, HttpServletResponse resp) {
+        this.trans = trans;
+        this.req = req;
+        this.resp = resp;
+                
+    }
+    public boolean matches(Route<TRANS> route) throws IOException, ServletException {
+        // Find best Code in Route based on "Accepts (Get) or Content-Type" (if exists)
+        return (code = route.getCode(trans, req, resp))!=null;
+    }
+    
+    public HttpCode<TRANS,?> code() {
+        return code;
+    }
 }
\ No newline at end of file