Skip to content

Commit e9a3580

Browse files
committed
Upgrade dependencies; fix new Sonar smells
1 parent 6b82681 commit e9a3580

File tree

5 files changed

+32
-35
lines changed

5 files changed

+32
-35
lines changed

build.gradle

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -46,56 +46,56 @@ ext {
4646

4747
activeMqVersion = '5.15.11'
4848
apacheSshdVersion = '2.4.0'
49-
avroVersion = '1.9.1'
49+
avroVersion = '1.9.2'
5050
aspectjVersion = '1.9.5'
5151
assertjVersion = '3.15.0'
5252
assertkVersion = '0.21'
5353
awaitilityVersion = '4.0.2'
5454
commonsDbcp2Version = '2.7.0'
5555
commonsIoVersion = '2.6'
5656
commonsNetVersion = '3.6'
57-
curatorVersion = '4.2.0'
57+
curatorVersion = '4.3.0'
5858
derbyVersion = '10.14.2.0'
5959
ftpServerVersion = '1.1.1'
6060
googleJsr305Version = '3.0.2'
61-
groovyVersion = '2.5.9'
61+
groovyVersion = '2.5.10'
6262
hamcrestVersion = '2.2'
6363
hazelcastVersion = '3.12.6'
64-
hibernateVersion = '5.4.11.Final'
64+
hibernateVersion = '5.4.12.Final'
6565
hsqldbVersion = '2.5.0'
6666
h2Version = '1.4.200'
67-
jacksonVersion = '2.10.2'
67+
jacksonVersion = '2.10.3'
6868
javaxActivationVersion = '1.2.0'
6969
javaxMailVersion = '1.6.2'
7070
jmsApiVersion = '2.0.1'
7171
jpa21ApiVersion = '1.0.2.Final'
7272
jpaApiVersion = '2.2.1'
73-
jrubyVersion = '9.2.9.0'
73+
jrubyVersion = '9.2.11.0'
7474
jschVersion = '0.1.55'
7575
jsonpathVersion = '2.4.0'
7676
junit4Version = '4.13'
7777
junitJupiterVersion = '5.6.0'
7878
jythonVersion = '2.7.0'
7979
kryoShadedVersion = '4.0.2'
8080
lettuceVersion = '5.2.2.RELEASE'
81-
log4jVersion = '2.13.0'
81+
log4jVersion = '2.13.1'
8282
micrometerVersion = '1.3.5'
83-
mockitoVersion = '3.2.4'
84-
mongoDriverVersion = '4.0.0-beta1'
83+
mockitoVersion = '3.3.0'
84+
mongoDriverVersion = '4.0.0'
8585
mysqlVersion = '8.0.19'
8686
pahoMqttClientVersion = '1.2.2'
8787
postgresVersion = '42.2.10'
88-
reactorVersion = 'Dysprosium-SR4'
88+
reactorVersion = 'Dysprosium-SR5'
8989
resilience4jVersion = '1.3.1'
9090
romeToolsVersion = '1.12.2'
9191
rsocketVersion = '1.0.0-RC6'
9292
servletApiVersion = '4.0.1'
9393
smackVersion = '4.3.4'
94-
springAmqpVersion = project.hasProperty('springAmqpVersion') ? project.springAmqpVersion : '2.2.4.RELEASE'
95-
springDataVersion = project.hasProperty('springDataVersion') ? project.springDataVersion : 'Neumann-M3'
96-
springSecurityVersion = project.hasProperty('springSecurityVersion') ? project.springSecurityVersion : '5.3.0.RC1'
94+
springAmqpVersion = project.hasProperty('springAmqpVersion') ? project.springAmqpVersion : '2.2.5.RELEASE'
95+
springDataVersion = project.hasProperty('springDataVersion') ? project.springDataVersion : 'Neumann-M4'
96+
springSecurityVersion = project.hasProperty('springSecurityVersion') ? project.springSecurityVersion : '5.3.0.RELEASE'
9797
springRetryVersion = '1.2.5.RELEASE'
98-
springVersion = project.hasProperty('springVersion') ? project.springVersion : '5.2.3.RELEASE'
98+
springVersion = project.hasProperty('springVersion') ? project.springVersion : '5.2.4.RELEASE'
9999
springWsVersion = '3.0.8.RELEASE'
100100
tomcatVersion = "9.0.31"
101101
xstreamVersion = '1.4.11.1'
@@ -319,7 +319,7 @@ configure(javaProjects) { subproject ->
319319

320320
checkstyle {
321321
configFile = file("$rootDir/src/checkstyle/checkstyle.xml")
322-
toolVersion = project.hasProperty('checkstyleVersion') ? project.checkstyleVersion : '8.29'
322+
toolVersion = project.hasProperty('checkstyleVersion') ? project.checkstyleVersion : '8.30'
323323
}
324324

325325
jar {

spring-integration-core/src/main/java/org/springframework/integration/handler/advice/ReactiveRequestHandlerAdvice.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
import java.lang.reflect.Method;
2020
import java.util.function.BiFunction;
21-
import java.util.function.Function;
2221

2322
import org.aopalliance.intercept.MethodInterceptor;
2423
import org.aopalliance.intercept.MethodInvocation;
@@ -33,12 +32,13 @@
3332

3433
/**
3534
* A {@link MethodInterceptor} for message handlers producing a {@link Mono} as a payload for reply.
36-
* The returned {@link Mono} is customized via {@link Mono#transform(Function)} operator
35+
* The returned {@link Mono} is customized via {@link Mono#transform(java.util.function.Function)} operator
3736
* calling provided {@code replyCustomizer} {@link BiFunction} with request message as a context.
3837
*
3938
* A customization assumes to use supporting reactive operators like {@link Mono#timeout},
4039
* {@link Mono#retry}, {@link Mono#tag} etc.
41-
* A {@link Mono#transform(Function)} also can be used for further customization like reactive circuit breaker.
40+
* A {@link Mono#transform(java.util.function.Function)} also can be used
41+
* for further customization like reactive circuit breaker.
4242
*
4343
* @author Artem Bilan
4444
*

spring-integration-rsocket/src/main/java/org/springframework/integration/rsocket/dsl/RSocketInboundGatewaySpec.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
import org.springframework.integration.rsocket.inbound.RSocketInboundGateway;
2424
import org.springframework.messaging.rsocket.RSocketStrategies;
2525

26-
import reactor.core.publisher.Flux;
27-
2826
/**
2927
* The {@link MessagingGatewaySpec} implementation for the {@link RSocketInboundGateway}.
3028
*
@@ -85,8 +83,10 @@ public RSocketInboundGatewaySpec requestElementType(ResolvableType requestElemen
8583
}
8684

8785
/**
88-
* Configure an option to decode an incoming {@link Flux} as a single unit or each its event separately.
89-
* @param decodeFluxAsUnit decode incoming {@link Flux} as a single unit or each event separately.
86+
* Configure an option to decode an incoming {@link reactor.core.publisher.Flux}
87+
* as a single unit or each its event separately.
88+
* @param decodeFluxAsUnit decode incoming {@link reactor.core.publisher.Flux}
89+
* as a single unit or each event separately.
9090
* @return the spec
9191
* @since 5.3
9292
* @see RSocketInboundGateway#setDecodeFluxAsUnit(boolean)

spring-integration-sftp/src/main/java/org/springframework/integration/sftp/session/DefaultSftpSessionFactory.java

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
package org.springframework.integration.sftp.session;
1818

1919
import java.io.IOException;
20-
import java.io.InputStream;
2120
import java.time.Duration;
2221
import java.util.Arrays;
2322
import java.util.Properties;
@@ -204,7 +203,7 @@ public void setKnownHosts(String knownHosts) {
204203
* Specifies the filename that will be used for a host key repository.
205204
* The file has the same format as OpenSSH's known_hosts file.
206205
* @param knownHosts the resource for known hosts.
207-
* @see JSch#setKnownHosts(InputStream)
206+
* @see JSch#setKnownHosts(java.io.InputStream)
208207
* @since 5.2.5
209208
*/
210209
public void setKnownHostsResource(Resource knownHosts) {
@@ -439,8 +438,8 @@ private com.jcraft.jsch.Session initJschSession() throws JSchException, IOExcept
439438
}
440439
com.jcraft.jsch.Session jschSession = this.jsch.getSession(this.user, this.host, this.port);
441440
JavaUtils.INSTANCE
442-
.acceptIfNotNull(this.sessionConfig, jschSession::setConfig)
443-
.acceptIfHasText(this.userInfoWrapper.getPassword(), jschSession::setPassword);
441+
.acceptIfNotNull(this.sessionConfig, jschSession::setConfig)
442+
.acceptIfHasText(this.userInfoWrapper.getPassword(), jschSession::setPassword);
444443
jschSession.setUserInfo(this.userInfoWrapper);
445444

446445
try {
@@ -451,12 +450,12 @@ private com.jcraft.jsch.Session initJschSession() throws JSchException, IOExcept
451450
jschSession.setServerAliveInterval(this.serverAliveInterval);
452451
}
453452
JavaUtils.INSTANCE
454-
.acceptIfNotNull(this.proxy, jschSession::setProxy)
455-
.acceptIfNotNull(this.socketFactory, jschSession::setSocketFactory)
456-
.acceptIfHasText(this.clientVersion, jschSession::setClientVersion)
457-
.acceptIfHasText(this.hostKeyAlias, jschSession::setHostKeyAlias)
458-
.acceptIfNotNull(this.serverAliveCountMax, jschSession::setServerAliveCountMax)
459-
.acceptIfNotNull(this.enableDaemonThread, jschSession::setDaemonThread);
453+
.acceptIfNotNull(this.proxy, jschSession::setProxy)
454+
.acceptIfNotNull(this.socketFactory, jschSession::setSocketFactory)
455+
.acceptIfHasText(this.clientVersion, jschSession::setClientVersion)
456+
.acceptIfHasText(this.hostKeyAlias, jschSession::setHostKeyAlias)
457+
.acceptIfNotNull(this.serverAliveCountMax, jschSession::setServerAliveCountMax)
458+
.acceptIfNotNull(this.enableDaemonThread, jschSession::setDaemonThread);
460459
}
461460
catch (Exception e) {
462461
throw new BeanCreationException("Attempt to set additional properties of " +

src/checkstyle/checkstyle.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
<property name="fileExtensions" value="java"/>
1515
</module>
1616

17-
<module name="NewlineAtEndOfFile">
18-
<property name="lineSeparator" value="lf"/>
19-
</module>
17+
<module name="NewlineAtEndOfFile"/>
2018

2119
<!-- TreeWalker Checks -->
2220
<module name="TreeWalker">

0 commit comments

Comments
 (0)