Tab police
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 26 Sep 2010 17:57:07 +0000 (17:57 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 26 Sep 2010 17:57:07 +0000 (17:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1001485 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/coyote/ajp/Constants.java

index b2e6b81..94ce12d 100644 (file)
@@ -155,9 +155,9 @@ public final class Constants {
      * @param code the coded value
      * @return the string value of the method
      */
-       public static final String getMethodForCode(final int code) {
-               return methodTransArray[code];
-       }
+    public static final String getMethodForCode(final int code) {
+        return methodTransArray[code];
+    }
 
     public static final int SC_M_JK_STORED = (byte) 0xFF;
 
@@ -202,9 +202,9 @@ public final class Constants {
      * @param code the coded value
      * @return the string value of the header name
      */
-       public static final String getHeaderForCode(final int code) {
-               return headerTransArray[code];
-       }
+    public static final String getHeaderForCode(final int code) {
+        return headerTransArray[code];
+    }
 
     // Translates integer codes to response header names
     private static final String [] responseTransArray = {
@@ -226,9 +226,9 @@ public final class Constants {
      * @param code the coded value
      * @return the string value of the header
      */
-       public static final String getResponseHeaderForCode(final int code) {
-               return responseTransArray[code];
-       }
+    public static final String getResponseHeaderForCode(final int code) {
+        return responseTransArray[code];
+    }
 
     private static final Hashtable<String,Integer>  responseTransHash =
         new Hashtable<String,Integer>(20);