Skip to content

Commit 5412d1b

Browse files
zhaomin1423pan3793
authored andcommitted
[KYUUBI #2973] Decorate LOG in the RetryableRestClient with static final
### _Why are the changes needed?_ A minor improvement by using static. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #2973 from zhaomin1423/fix_log. Closes #2973 285ac0a [Min Zhao] Decorate LOG in the RetryableRestClient with static final Authored-by: Min Zhao <zhaomin1423@163.com> Signed-off-by: Cheng Pan <chengpan@apache.org>
1 parent 10affbf commit 5412d1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kyuubi-rest-client/src/main/java/org/apache/kyuubi/client/RetryableRestClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*/
3535
public class RetryableRestClient implements InvocationHandler {
3636

37-
private Logger LOG = LoggerFactory.getLogger(RetryableRestClient.class);
37+
private static final Logger LOG = LoggerFactory.getLogger(RetryableRestClient.class);
3838

3939
private final RestClientConf conf;
4040
private final List<String> uris;

0 commit comments

Comments
 (0)