Make fields immutable (final) where possible
This commit is contained in:
@@ -30,7 +30,7 @@ import org.springframework.messaging.MessagingException;
|
||||
*
|
||||
*/
|
||||
public class GmailInboundImapIdleAdapterTestApp {
|
||||
private static Log logger = LogFactory.getLog(GmailInboundImapIdleAdapterTestApp.class);
|
||||
private static final Log logger = LogFactory.getLog(GmailInboundImapIdleAdapterTestApp.class);
|
||||
|
||||
|
||||
public static void main (String[] args) throws Exception {
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.springframework.messaging.MessagingException;
|
||||
*/
|
||||
public class GmailInboundPop3AdapterTestApp {
|
||||
|
||||
private static Log logger = LogFactory.getLog(GmailInboundPop3AdapterTestApp.class);
|
||||
private static final Log logger = LogFactory.getLog(GmailInboundPop3AdapterTestApp.class);
|
||||
|
||||
public static void main (String[] args) throws Exception {
|
||||
@SuppressWarnings("resource")
|
||||
|
||||
Reference in New Issue
Block a user