Remove unused code.
authorrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 20 Jun 2011 19:01:14 +0000 (19:01 +0000)
committerrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Mon, 20 Jun 2011 19:01:14 +0000 (19:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1137746 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/valves/AccessLogValve.java

index c29532f..2207b8c 100644 (file)
@@ -155,14 +155,6 @@ public class AccessLogValve extends ValveBase implements AccessLog {
 
 
     /**
-     * The set of month abbreviations for log messages.
-     */
-    protected static final String months[] =
-    { "Jan", "Feb", "Mar", "Apr", "May", "Jun",
-      "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
-
-
-    /**
      * enabled this component
      */
     protected boolean enabled = true;
@@ -908,24 +900,6 @@ public class AccessLogValve extends ValveBase implements AccessLog {
 
 
     /**
-     * Return the month abbreviation for the specified month, which must
-     * be a two-digit String.
-     *
-     * @param month Month number ("01" .. "12").
-     */
-    private static String lookup(String month) {
-        int index;
-        try {
-            index = Integer.parseInt(month) - 1;
-        } catch (Throwable t) {
-            ExceptionUtils.handleThrowable(t);
-            index = 0;  // Can not happen, in theory
-        }
-        return (months[index]);
-    }
-
-
-    /**
      * Open the new log file for the date specified by <code>dateStamp</code>.
      */
     protected synchronized void open() {