Code Polishing (Sonar)

- remove redundant modifiers
- overridable methods called from ctors

Polishing - PR Comments
This commit is contained in:
Gary Russell
2015-12-03 15:23:12 -05:00
committed by Artem Bilan
parent ddb4321e1d
commit 255247ca9a
56 changed files with 447 additions and 381 deletions

View File

@@ -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;
}

View File

@@ -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;
}
}
}