Remove Exception from IOS.onInit()
This commit is contained in:
committed by
Artem Bilan
parent
81b4ea1bef
commit
113a371f2c
@@ -238,7 +238,7 @@ public class RemoteFileTemplate<F> implements RemoteFileOperations<F>, Initializ
|
||||
}
|
||||
|
||||
@Override
|
||||
public void afterPropertiesSet() throws Exception {
|
||||
public void afterPropertiesSet() {
|
||||
BeanFactory beanFactory = this.beanFactory;
|
||||
if (beanFactory != null) {
|
||||
if (this.directoryExpressionProcessor != null) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2017 the original author or authors.
|
||||
* Copyright 2002-2018 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.
|
||||
@@ -194,7 +194,7 @@ public class FileTransferringMessageHandler<F> extends AbstractMessageHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onInit() throws Exception {
|
||||
protected void onInit() {
|
||||
this.remoteFileTemplate.setBeanFactory(this.getBeanFactory());
|
||||
this.remoteFileTemplate.afterPropertiesSet();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user