[logback-dev] svn commit: r2367 - logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling
noreply.ceki at qos.ch
noreply.ceki at qos.ch
Thu Jul 23 19:37:07 CEST 2009
Author: ceki
Date: Thu Jul 23 19:37:07 2009
New Revision: 2367
Modified:
logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/FixedWindowRollingPolicy.java
logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/RollingPolicyBase.java
logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/TimeBasedRollingPolicy.java
Log:
- very minor refactoring
Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/FixedWindowRollingPolicy.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/FixedWindowRollingPolicy.java (original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/FixedWindowRollingPolicy.java Thu Jul 23 19:37:07 2009
@@ -162,8 +162,4 @@
public void setMinIndex(int minIndex) {
this.minIndex = minIndex;
}
-
- public CompressionMode getCompressionMode() {
- return compressionMode;
- }
}
Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/RollingPolicyBase.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/RollingPolicyBase.java (original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/RollingPolicyBase.java Thu Jul 23 19:37:07 2009
@@ -60,6 +60,10 @@
return fileNamePatternStr;
}
+ public CompressionMode getCompressionMode() {
+ return compressionMode;
+ }
+
public boolean isStarted() {
return started;
}
Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/TimeBasedRollingPolicy.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/TimeBasedRollingPolicy.java (original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/rolling/TimeBasedRollingPolicy.java Thu Jul 23 19:37:07 2009
@@ -130,12 +130,6 @@
}
}
-
- public CompressionMode getCompressionMode() {
- return compressionMode;
- }
-
-
// allow Test classes to act on the lastCheck field to simulate old
// log files needing rollover
void setLastCheck(Date _lastCheck) {
More information about the logback-dev
mailing list