Code Polishing (Sonar)
- remove redundant modifiers - overridable methods called from ctors Polishing - PR Comments
This commit is contained in:
committed by
Artem Bilan
parent
ddb4321e1d
commit
255247ca9a
@@ -458,7 +458,7 @@ public abstract class AbstractMailReceiver extends IntegrationObjectSupport impl
|
||||
|
||||
private final MimeMessage source;
|
||||
|
||||
public IntegrationMimeMessage(MimeMessage source) throws MessagingException {
|
||||
private IntegrationMimeMessage(MimeMessage source) throws MessagingException {
|
||||
super(source);
|
||||
this.source = source;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2012 the original author or authors.
|
||||
* Copyright 2002-2015 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -32,7 +32,7 @@ public interface MailReceiver {
|
||||
|
||||
javax.mail.Message[] receive() throws javax.mail.MessagingException;
|
||||
|
||||
public static class MailReceiverContext {
|
||||
class MailReceiverContext {
|
||||
|
||||
private final Folder folder;
|
||||
|
||||
@@ -55,4 +55,5 @@ public interface MailReceiver {
|
||||
return folder;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user