Remove Exception from IOS.onInit()

This commit is contained in:
Gary Russell
2018-12-21 17:01:35 -05:00
committed by Artem Bilan
parent 81b4ea1bef
commit 113a371f2c
63 changed files with 118 additions and 94 deletions

View File

@@ -565,7 +565,7 @@ public abstract class AbstractMailReceiver extends IntegrationObjectSupport impl
}
@Override
protected void onInit() throws Exception {
protected void onInit() {
super.onInit();
this.folderOpenMode = Folder.READ_WRITE;
this.evaluationContext = ExpressionUtils.createStandardEvaluationContext(getBeanFactory());

View File

@@ -130,7 +130,7 @@ public class ImapMailReceiver extends AbstractMailReceiver {
}
@Override
protected void onInit() throws Exception {
protected void onInit() {
super.onInit();
this.scheduler = getTaskScheduler();
if (this.scheduler == null) {