Skip to content

Commit 724efb5

Browse files
committed
fix typo, make ArchiveRemoverRunnable inner class protected
Signed-off-by: Ceki Gulcu <[email protected]>
1 parent 1fec655 commit 724efb5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

logback-core/src/main/java/ch/qos/logback/core/rolling/helper/TimeBasedArchiveRemover.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public TimeBasedArchiveRemover(FileNamePattern fileNamePattern, RollingCalendar
4848
int callCount = 0;
4949

5050
public Future<?> cleanAsynchronously(Instant now) {
51-
ArhiveRemoverRunnable runnable = new ArhiveRemoverRunnable(now);
51+
ArchiveRemoverRunnable runnable = new ArchiveRemoverRunnable(now);
5252
ExecutorService alternateExecutorService = context.getAlternateExecutorService();
5353
Future<?> future = alternateExecutorService.submit(runnable);
5454
return future;
@@ -247,10 +247,10 @@ public String toString() {
247247

248248

249249

250-
public class ArhiveRemoverRunnable implements Runnable {
250+
protected class ArchiveRemoverRunnable implements Runnable {
251251
Instant now;
252252

253-
ArhiveRemoverRunnable(Instant now) {
253+
ArchiveRemoverRunnable(Instant now) {
254254
this.now = now;
255255
}
256256

0 commit comments

Comments
 (0)