diff options
author | Vitaly Takmazov | 2020-10-02 19:16:42 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2020-10-02 19:16:42 +0300 |
commit | ac241aaa0720e3029c509d3cc060afeefd8669ce (patch) | |
tree | b3015e117a56354b68a621a431e151350e0ce0aa /src/main | |
parent | a62c1fda358f54bd3e7de9aea94ce63e89e06142 (diff) |
More IDEA code inspection fixes
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/juick/TopManager.java | 2 | ||||
-rw-r--r-- | src/main/java/com/juick/TwitterManager.java | 2 | ||||
-rw-r--r-- | src/main/java/com/juick/www/api/Service.java | 2 |
3 files changed, 3 insertions, 3 deletions
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 |