mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-27 06:00:45 +00:00
docs: update strategy
This commit is contained in:
@@ -91,7 +91,7 @@ class DragonSlayingStrategyTest {
|
||||
assertEquals(1, appender.getLogSize());
|
||||
}
|
||||
|
||||
private class InMemoryAppender extends AppenderBase<ILoggingEvent> {
|
||||
private static class InMemoryAppender extends AppenderBase<ILoggingEvent> {
|
||||
private final List<ILoggingEvent> log = new LinkedList<>();
|
||||
|
||||
public InMemoryAppender() {
|
||||
|
||||
Reference in New Issue
Block a user