Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b0eccd2

Browse files
scordiofmbenhassine
authored andcommitted
Bump spring-javaformat-maven-plugin.version from 0.0.39 to 0.0.47
Signed-off-by: Stefano Cordio <stefano.cordio@gmail.com>
1 parent 2d22aa4 commit b0eccd2

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

‎pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
<maven-deploy-plugin.version>3.1.4</maven-deploy-plugin.version>
155155
<maven-assembly-plugin.version>3.7.1</maven-assembly-plugin.version>
156156
<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
157-
<spring-javaformat-maven-plugin.version>0.0.39</spring-javaformat-maven-plugin.version>
157+
<spring-javaformat-maven-plugin.version>0.0.47</spring-javaformat-maven-plugin.version>
158158
<error-prone.version>2.38.0</error-prone.version>
159159
</properties>
160160

‎spring-batch-infrastructure/src/test/java/org/springframework/batch/item/amqp/builder/AmqpItemReaderBuilderTests.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017-2022 the original author or authors.
2+
* Copyright 2017-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -43,7 +43,8 @@ void testNoItemType() {
4343
when(this.amqpTemplate.receiveAndConvert()).thenReturn("foo");
4444

4545
final AmqpItemReader<String> amqpItemReader = new AmqpItemReaderBuilder<String>()
46-
.amqpTemplate(this.amqpTemplate).build();
46+
.amqpTemplate(this.amqpTemplate)
47+
.build();
4748
assertEquals("foo", amqpItemReader.read());
4849
}
4950

@@ -52,7 +53,9 @@ void testNonMessageItemType() {
5253
when(this.amqpTemplate.receiveAndConvert()).thenReturn("foo");
5354

5455
final AmqpItemReader<String> amqpItemReader = new AmqpItemReaderBuilder<String>()
55-
.amqpTemplate(this.amqpTemplate).itemType(String.class).build();
56+
.amqpTemplate(this.amqpTemplate)
57+
.itemType(String.class)
58+
.build();
5659

5760
assertEquals("foo", amqpItemReader.read());
5861
}

‎spring-batch-infrastructure/src/test/java/org/springframework/batch/item/database/JdbcBatchItemWriterNamedParameterTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2023 the original author or authors.
2+
* Copyright 2006-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -119,7 +119,7 @@ void testWriteAndFlush() throws Exception {
119119
when(namedParameterJdbcOperations.batchUpdate(eq(sql),
120120
eqSqlParameterSourceArray(
121121
new SqlParameterSource[] { new BeanPropertySqlParameterSource(new Foo("bar")) })))
122-
.thenReturn(new int[] { 1 });
122+
.thenReturn(new int[] { 1 });
123123
writer.write(Chunk.of(new Foo("bar")));
124124
}
125125

@@ -166,7 +166,7 @@ void testWriteAndFlushWithEmptyUpdate() {
166166
when(namedParameterJdbcOperations.batchUpdate(eq(sql),
167167
eqSqlParameterSourceArray(
168168
new SqlParameterSource[] { new BeanPropertySqlParameterSource(new Foo("bar")) })))
169-
.thenReturn(new int[] { 0 });
169+
.thenReturn(new int[] { 0 });
170170
Exception exception = assertThrows(EmptyResultDataAccessException.class,
171171
() -> writer.write(Chunk.of(new Foo("bar"))));
172172
String message = exception.getMessage();

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /