Author: rjung Date: Mon Jun 20 19:01:14 2011 New Revision: 1137746 URL: http://svn.apache.org/viewvc?rev=1137746&view=rev Log: Remove unused code.
Modified: tomcat/trunk/java/org/apache/catalina/valves/AccessLogValve.java Modified: tomcat/trunk/java/org/apache/catalina/valves/AccessLogValve.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/valves/AccessLogValve.java?rev=1137746&r1=1137745&r2=1137746&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/valves/AccessLogValve.java (original) +++ tomcat/trunk/java/org/apache/catalina/valves/AccessLogValve.java Mon Jun 20 19:01:14 2011 @@ -155,14 +155,6 @@ public class AccessLogValve extends Valv /** - * 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 Valv /** - * 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() { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org