Make IOS.setTaskScheduler() as public (#2725)
* Make IOS.setTaskScheduler() as public * Make `IntegrationObjectSupport.setTaskScheduler()` as `public` and remove all the overrides for visibility * Fix Sonar smells for all the affected classes * * Fix `throws Exception` for affected classes to avoid compilation errors * * Fix "merely rethrow" smell * Revert `throws Exception` for `AbstractEndpoint.destroy()` * * Catch a couple exceptions from `destroy()`
This commit is contained in:
committed by
Gary Russell
parent
7980afef9b
commit
020ea76d59
@@ -341,15 +341,6 @@ public class FileWritingMessageHandler extends AbstractReplyProducingMessageHand
|
||||
this.flushWhenIdle = flushWhenIdle;
|
||||
}
|
||||
|
||||
/**
|
||||
* Configure a {@link TaskScheduler} for flush operations.
|
||||
* @param taskScheduler the {@link TaskScheduler} to use.
|
||||
*/
|
||||
@Override
|
||||
public void setTaskScheduler(TaskScheduler taskScheduler) { // NOSONAR
|
||||
super.setTaskScheduler(taskScheduler);
|
||||
}
|
||||
|
||||
/**
|
||||
* Set a {@link MessageFlushPredicate} to use when flushing files when
|
||||
* {@link FileExistsMode#APPEND_NO_FLUSH} is being used.
|
||||
|
||||
Reference in New Issue
Block a user