File tree 1 file changed +2
-2
lines changed
log4j-core/src/main/java/org/apache/logging/log4j/core/filter
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 21
21
import java .util .Iterator ;
22
22
import java .util .List ;
23
23
import java .util .concurrent .TimeUnit ;
24
+
24
25
import org .apache .logging .log4j .Level ;
25
26
import org .apache .logging .log4j .Marker ;
26
27
import org .apache .logging .log4j .core .AbstractLifeCycle ;
27
28
import org .apache .logging .log4j .core .Filter ;
28
- import org .apache .logging .log4j .core .LifeCycle ;
29
29
import org .apache .logging .log4j .core .LogEvent ;
30
30
import org .apache .logging .log4j .core .Logger ;
31
31
import org .apache .logging .log4j .core .util .ObjectArrayIterator ;
@@ -124,7 +124,7 @@ public void start() {
124
124
public boolean stop (final long timeout , final TimeUnit timeUnit ) {
125
125
this .setStopping ();
126
126
for (final Filter filter : filters ) {
127
- (( LifeCycle ) filter ) .stop (timeout , timeUnit );
127
+ filter .stop (timeout , timeUnit );
128
128
}
129
129
setStopped ();
130
130
return true ;
You can’t perform that action at this time.
0 commit comments