Skip to content

Commit 2163660

Browse files
author
Fabrice Bibonne
committed
test(check unicity of job name in a flow) step name as a job parameter
1 parent b8628d3 commit 2163660

File tree

2 files changed

+395
-331
lines changed

2 files changed

+395
-331
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/job/builder/AlreadyUsedStepNameException.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
package org.springframework.batch.core.job.builder;
1818

1919
/**
20-
* Exception to indicate the name of a step is already used by a different step in the same flow.
21-
* Step names must be unique within a flow definition because the search of the next step to find
22-
* relies on the step name
20+
* Exception to indicate the name of a step is already used by a different step in the
21+
* same flow. Step names must be unique within a flow definition because the search of the
22+
* next step to find relies on the step name
2323
*
2424
* @author Fabrice Bibonne
2525
*
2626
*/
27-
public class AlreadyUsedStepNameException extends RuntimeException{
27+
public class AlreadyUsedStepNameException extends RuntimeException {
2828

29-
public AlreadyUsedStepNameException(String name){
30-
super("the name "+name+" is already used");
31-
}
29+
public AlreadyUsedStepNameException(String name) {
30+
super("the name " + name + " is already used");
31+
}
3232

3333
}

0 commit comments

Comments
 (0)