Skip to content

Commit e83e272

Browse files
authored
Set FTPSClient property once
The `sessionCreation` property was being set twice by accident.
1 parent 45ef6a8 commit e83e272

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

spring-integration-ftp/src/main/java/org/springframework/integration/ftp/session/DefaultFtpsSessionFactory.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ protected void postProcessClientBeforeConnect(FTPSClient ftpsClient) {
150150
.acceptIfNotNull(this.protocols, ftpsClient::setEnabledProtocols)
151151
.acceptIfNotNull(this.sessionCreation, ftpsClient::setEnabledSessionCreation)
152152
.acceptIfNotNull(this.useClientMode, ftpsClient::setUseClientMode)
153-
.acceptIfNotNull(this.sessionCreation, ftpsClient::setEnabledSessionCreation)
154153
.acceptIfNotNull(this.keyManager, ftpsClient::setKeyManager)
155154
.acceptIfNotNull(this.needClientAuth, ftpsClient::setNeedClientAuth)
156155
.acceptIfNotNull(this.wantsClientAuth, ftpsClient::setWantClientAuth);

0 commit comments

Comments
 (0)