docs: improve decorator

This commit is contained in:
Ilkka Seppälä
2024-04-07 18:59:47 +03:00
parent 99f77f8119
commit e09cada960
3 changed files with 82 additions and 68 deletions
@@ -35,7 +35,6 @@ class AppTest {
/**
* Issue: Add at least one assertion to this test case.
*
* Solution: Inserted assertion to check whether the execution of the main method in {@link App#main(String[])}
* throws an exception.
*/
@@ -67,7 +67,7 @@ class SimpleTrollTest {
assertEquals(2, appender.getLogSize());
}
private class InMemoryAppender extends AppenderBase<ILoggingEvent> {
private static class InMemoryAppender extends AppenderBase<ILoggingEvent> {
private final List<ILoggingEvent> log = new LinkedList<>();