Author: markt Date: Fri Nov 16 17:31:02 2012 New Revision: 1410500 URL: http://svn.apache.org/viewvc?rev=1410500&view=rev Log: Correct case for class
Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/valves/AccessLogValve.java Modified: tomcat/tc7.0.x/trunk/java/org/apache/catalina/valves/AccessLogValve.java URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/valves/AccessLogValve.java?rev=1410500&r1=1410499&r2=1410500&view=diff ============================================================================== --- tomcat/tc7.0.x/trunk/java/org/apache/catalina/valves/AccessLogValve.java (original) +++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/valves/AccessLogValve.java Fri Nov 16 17:31:02 2012 @@ -509,7 +509,7 @@ public class AccessLogValve extends Valv /** * The list of our format types. */ - private static enum formatType { + private static enum FormatType { CLF, SEC, MSEC, MSEC_FRAC, SDF } @@ -1433,7 +1433,7 @@ public class AccessLogValve extends Valv /* Whether to use begin of request or end of response as the timestamp */ private boolean usesBegin = false; /* The format type */ - private formatType type = formatType.CLF; + private FormatType type = FormatType.CLF; /* Whether we need to postprocess by adding milliseconds */ private boolean usesMsecs = false; @@ -1485,15 +1485,15 @@ public class AccessLogValve extends Valv format = format.substring(4); } if (format.length() == 0) { - type = formatType.CLF; + type = FormatType.CLF; } else if (format.equals(secFormat)) { - type = formatType.SEC; + type = FormatType.SEC; } else if (format.equals(msecFormat)) { - type = formatType.MSEC; + type = FormatType.MSEC; } else if (format.equals(msecFractionFormat)) { - type = formatType.MSEC_FRAC; + type = FormatType.MSEC_FRAC; } else { - type = formatType.SDF; + type = FormatType.SDF; format = tidyFormat(format); } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org