File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
java-showcase/gapic-showcase/src/test/java/com/google/showcase/v1beta1/it/logging Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public class ITLogging1x {
55
55
private static final String RECEIVING_RESPONSE_MESSAGE = "Received response" ;
56
56
private final ObjectMapper objectMapper = new ObjectMapper ();
57
57
58
- private static Logger logger = LoggerFactory .getLogger (ITLogging1x .class );
58
+ private final static Logger CLASS_LOGGER = LoggerFactory .getLogger (ITLogging1x .class );
59
59
60
60
private TestAppender setupTestLogger (Class <?> clazz , Level level ) {
61
61
TestAppender testAppender = new TestAppender ();
@@ -95,8 +95,8 @@ static void destroyClients() throws InterruptedException {
95
95
96
96
@ Test
97
97
void test () {
98
- assertThat (logger .isInfoEnabled ()).isTrue ();
99
- assertThat (logger .isDebugEnabled ()).isTrue ();
98
+ assertThat (CLASS_LOGGER .isInfoEnabled ()).isTrue ();
99
+ assertThat (CLASS_LOGGER .isDebugEnabled ()).isTrue ();
100
100
}
101
101
102
102
@ Test
You can’t perform that action at this time.
0 commit comments