From ac241aaa0720e3029c509d3cc060afeefd8669ce Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 2 Oct 2020 19:16:42 +0300 Subject: More IDEA code inspection fixes --- src/main/java/com/juick/TopManager.java | 2 +- src/main/java/com/juick/TwitterManager.java | 2 +- src/main/java/com/juick/www/api/Service.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/main/java/com/juick/TopManager.java b/src/main/java/com/juick/TopManager.java index 611585d3..ca3b3e84 100644 --- a/src/main/java/com/juick/TopManager.java +++ b/src/main/java/com/juick/TopManager.java @@ -37,7 +37,7 @@ import java.util.List; import java.util.stream.Collectors; public class TopManager { - private static Logger logger = LoggerFactory.getLogger(TopManager.class); + private static final Logger logger = LoggerFactory.getLogger(TopManager.class); @Inject private MessagesService messagesService; @Inject diff --git a/src/main/java/com/juick/TwitterManager.java b/src/main/java/com/juick/TwitterManager.java index 9fc2b5c7..cb66429a 100644 --- a/src/main/java/com/juick/TwitterManager.java +++ b/src/main/java/com/juick/TwitterManager.java @@ -39,7 +39,7 @@ import javax.inject.Inject; */ public class TwitterManager implements NotificationListener { - private static Logger logger = LoggerFactory.getLogger(TwitterManager.class); + private static final Logger logger = LoggerFactory.getLogger(TwitterManager.class); @Inject private CrosspostService crosspostService; diff --git a/src/main/java/com/juick/www/api/Service.java b/src/main/java/com/juick/www/api/Service.java index dc001428..e8118145 100644 --- a/src/main/java/com/juick/www/api/Service.java +++ b/src/main/java/com/juick/www/api/Service.java @@ -63,7 +63,7 @@ import java.util.*; @Controller public class Service { - private static Logger logger = LoggerFactory.getLogger("Session"); + private static final Logger logger = LoggerFactory.getLogger("Session"); @Inject private UserService userService; @Inject -- cgit v1.2.3