Skip to content

Commit bcb5395

Browse files
committed
Upgrade dependencies to the latest major/minor
* Upgrade to Checkstyle `10.25.0`; fix respective new violations
1 parent 39331be commit bcb5395

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

build.gradle

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,23 +52,23 @@ ext {
5252
modifiedFiles.finalizeValueOnRead()
5353

5454
assertjVersion = '3.27.3'
55-
awaitilityVersion = '4.2.2'
55+
awaitilityVersion = '4.3.0'
5656
hamcrestVersion = '3.0'
5757
hibernateValidationVersion = '8.0.2.Final'
58-
jacksonBomVersion = '2.18.4'
58+
jacksonBomVersion = '2.19.0'
5959
jaywayJsonPathVersion = '2.9.0'
6060
junit4Version = '4.13.2'
61-
junitJupiterVersion = '5.12.2'
61+
junitJupiterVersion = '5.13.0'
6262
kafkaVersion = '4.0.0'
6363
kotlinCoroutinesVersion = '1.10.2'
6464
log4jVersion = '2.24.3'
6565
micrometerDocsVersion = '1.0.4'
6666
micrometerVersion = '1.15.0'
6767
micrometerTracingVersion = '1.5.0'
68-
mockitoVersion = '5.15.2'
69-
reactorVersion = '2024.0.6'
68+
mockitoVersion = '5.18.0'
69+
reactorVersion = '2025.0.0-SNAPSHOT'
7070
scalaVersion = '2.13'
71-
springBootVersion = '3.3.8' // docs module
71+
springBootVersion = '3.5.0' // docs module
7272
springDataVersion = '2025.1.0-SNAPSHOT'
7373
springRetryVersion = '2.0.12'
7474
springVersion = '7.0.0-SNAPSHOT'
@@ -94,6 +94,7 @@ allprojects {
9494
maven { url 'https://repo.spring.io/milestone' }
9595
if (version.endsWith('SNAPSHOT')) {
9696
maven { url 'https://repo.spring.io/snapshot' }
97+
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
9798
}
9899
// maven { url 'https://repository.apache.org/content/groups/staging/' }
99100
}
@@ -195,8 +196,8 @@ configure(javaProjects) { subproject ->
195196
}
196197

197198
checkstyle {
198-
configDirectory.set(rootProject.file('src/checkstyle'))
199-
toolVersion = '10.21.1'
199+
configDirectory.set(file("${rootDir}/src/checkstyle"))
200+
toolVersion = '10.25.0'
200201
}
201202

202203
publishing {

spring-kafka/src/main/java/org/springframework/kafka/retrytopic/RetryTopicConfigurer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
* ContainerProperties' idlePartitionEventInterval property.
7777
* property, a {@link org.springframework.kafka.event.ListenerContainerPartitionIdleEvent}
7878
* is published, which the {@link org.springframework.kafka.listener.KafkaConsumerBackoffManager}
79-
* listens to in order to check whether or not it should unpause the partition.
79+
* listens to in order to check whether it should unpause the partition.
8080
*
8181
* <p>If, when consumption is resumed, processing fails again, the message is forwarded to
8282
* the next topic and so on, until it gets to the dlt.
@@ -498,7 +498,7 @@ default void process(MethodKafkaListenerEndpoint<?, ?> listenerEndpoint) {
498498

499499
static class LoggingDltListenerHandlerMethod {
500500

501-
public static final String DEFAULT_DLT_METHOD_NAME = "logMessage";
501+
static final String DEFAULT_DLT_METHOD_NAME = "logMessage";
502502

503503
public void logMessage(Object message, @NonNull Acknowledgment ack) {
504504
if (message instanceof ConsumerRecord) {

src/checkstyle/checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
<module name="JavadocMethod">
112112
</module>
113113
<module name="JavadocVariable">
114-
<property name="scope" value="public"/>
114+
<property name="accessModifiers" value="public"/>
115115
</module>
116116
<module name="JavadocStyle">
117117
<property name="checkEmptyJavadoc" value="true"/>

0 commit comments

Comments
 (0)