ASF Bugzilla – Attachment 22420 Details for
Bug 40888
Weekly rotation problem in Europe
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
removal of locale to rollingcalendar
log4j-40888-drfa-week-rollover-problem.patch (text/plain), 1.05 KB, created by
Thorbjørn Ravn Andersen
on 2008-08-09 09:13:35 UTC
(
hide
)
Description:
removal of locale to rollingcalendar
Filename:
MIME Type:
Creator:
Thorbjørn Ravn Andersen
Created:
2008-08-09 09:13:35 UTC
Size:
1.05 KB
patch
obsolete
>Index: src/main/java/org/apache/log4j/DailyRollingFileAppender.java >=================================================================== >--- src/main/java/org/apache/log4j/DailyRollingFileAppender.java (revision 684283) >+++ src/main/java/org/apache/log4j/DailyRollingFileAppender.java (working copy) >@@ -26,7 +26,6 @@ > import java.util.GregorianCalendar; > import java.util.Calendar; > import java.util.TimeZone; >-import java.util.Locale; > > import org.apache.log4j.helpers.LogLog; > import org.apache.log4j.spi.LoggingEvent; >@@ -270,7 +269,7 @@ > // GMT (the epoch). > > int computeCheckPeriod() { >- RollingCalendar rollingCalendar = new RollingCalendar(gmtTimeZone, Locale.ENGLISH); >+ RollingCalendar rollingCalendar = new RollingCalendar(gmtTimeZone); > // set sate to 1970-01-01 00:00:00 GMT > Date epoch = new Date(0); > if(datePattern != null) { >@@ -374,8 +373,8 @@ > super(); > } > >- RollingCalendar(TimeZone tz, Locale locale) { >- super(tz, locale); >+ RollingCalendar(TimeZone tz) { >+ super(tz); > } > > void setType(int type) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 40888
: 22420 |
22421