Skip to content

Commit 40801b7

Browse files
committed
Update spring format plugin version
1 parent 2d89e7d commit 40801b7

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
<maven-checkstyle-plugin.includeTestSourceDirectory>true
128128
</maven-checkstyle-plugin.includeTestSourceDirectory>
129129
<java.version>17</java.version>
130-
<spring-javaformat-maven-plugin.version>0.0.40</spring-javaformat-maven-plugin.version>
130+
<spring-javaformat-maven-plugin.version>0.0.47</spring-javaformat-maven-plugin.version>
131131
</properties>
132132

133133
<build>

spring-cloud-task-batch/src/test/java/org/springframework/cloud/task/batch/partition/DeployerStepExecutionHandlerTests.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ public void testValidationOfRequestValuesExist() throws Exception {
9898
@Test
9999
public void testValidationOfRequestStepFound() throws Exception {
100100
when(this.environment.containsProperty(DeployerPartitionHandler.SPRING_CLOUD_TASK_JOB_EXECUTION_ID))
101-
.thenReturn(true);
101+
.thenReturn(true);
102102
when(this.environment.containsProperty(DeployerPartitionHandler.SPRING_CLOUD_TASK_STEP_EXECUTION_ID))
103-
.thenReturn(true);
103+
.thenReturn(true);
104104
when(this.environment.containsProperty(DeployerPartitionHandler.SPRING_CLOUD_TASK_STEP_NAME)).thenReturn(true);
105105
when(this.environment.getProperty(DeployerPartitionHandler.SPRING_CLOUD_TASK_STEP_NAME)).thenReturn("foo");
106106
when(this.beanFactory.getBeanNamesForType(Step.class)).thenReturn(new String[] { "bar", "baz" });
@@ -116,22 +116,22 @@ public void testValidationOfRequestStepFound() throws Exception {
116116
@Test
117117
public void testMissingStepExecution() throws Exception {
118118
when(this.environment.containsProperty(DeployerPartitionHandler.SPRING_CLOUD_TASK_JOB_EXECUTION_ID))
119-
.thenReturn(true);
119+
.thenReturn(true);
120120
when(this.environment.containsProperty(DeployerPartitionHandler.SPRING_CLOUD_TASK_STEP_EXECUTION_ID))
121-
.thenReturn(true);
121+
.thenReturn(true);
122122
when(this.environment.containsProperty(DeployerPartitionHandler.SPRING_CLOUD_TASK_STEP_NAME)).thenReturn(true);
123123
when(this.environment.getProperty(DeployerPartitionHandler.SPRING_CLOUD_TASK_STEP_NAME)).thenReturn("foo");
124124
when(this.beanFactory.getBeanNamesForType(Step.class)).thenReturn(new String[] { "foo", "bar", "baz" });
125125
when(this.environment.getProperty(DeployerPartitionHandler.SPRING_CLOUD_TASK_STEP_EXECUTION_ID))
126-
.thenReturn("2");
126+
.thenReturn("2");
127127
when(this.environment.getProperty(DeployerPartitionHandler.SPRING_CLOUD_TASK_JOB_EXECUTION_ID)).thenReturn("1");
128128

129129
try {
130130
this.handler.run();
131131
}
132132
catch (NoSuchStepException nsse) {
133133
assertThat(nsse.getMessage())
134-
.isEqualTo("No StepExecution could be located for step execution id 2 within job execution 1");
134+
.isEqualTo("No StepExecution could be located for step execution id 2 within job execution 1");
135135
}
136136
}
137137

spring-cloud-task-stream/src/test/java/org/springframework/cloud/task/batch/listener/TaskBatchEventListenerBeanPostProcessorTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public class TaskBatchEventListenerBeanPostProcessorTests {
8383
@BeforeEach
8484
public void setupMock() {
8585
when(this.taskletStep.getTasklet())
86-
.thenReturn(new ChunkOrientedTasklet(this.chunkProvider, this.chunkProcessor));
86+
.thenReturn(new ChunkOrientedTasklet(this.chunkProvider, this.chunkProcessor));
8787
when(this.taskletStep.getName()).thenReturn("FOOOBAR");
8888

8989
registerAlias(ItemProcessListener.class, BatchEventAutoConfiguration.ITEM_PROCESS_EVENTS_LISTENER);

0 commit comments

Comments
 (0)