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 {
5555 private static final String RECEIVING_RESPONSE_MESSAGE = "Received response" ;
5656 private final ObjectMapper objectMapper = new ObjectMapper ();
5757
58- private static Logger logger = LoggerFactory .getLogger (ITLogging1x .class );
58+ private final static Logger CLASS_LOGGER = LoggerFactory .getLogger (ITLogging1x .class );
5959
6060 private TestAppender setupTestLogger (Class <?> clazz , Level level ) {
6161 TestAppender testAppender = new TestAppender ();
@@ -95,8 +95,8 @@ static void destroyClients() throws InterruptedException {
9595
9696 @ Test
9797 void test () {
98- assertThat (logger .isInfoEnabled ()).isTrue ();
99- assertThat (logger .isDebugEnabled ()).isTrue ();
98+ assertThat (CLASS_LOGGER .isInfoEnabled ()).isTrue ();
99+ assertThat (CLASS_LOGGER .isDebugEnabled ()).isTrue ();
100100 }
101101
102102 @ Test
You can’t perform that action at this time.
0 commit comments