Skip to content

Commit e022216

Browse files
committed
Fix JavaDoc in JobBuilder
Issue #4415
1 parent 3796ac6 commit e022216

File tree

1 file changed

+4
-3
lines changed
  • spring-batch-core/src/main/java/org/springframework/batch/core/job/builder

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2013 the original author or authors.
2+
* Copyright 2006-2023 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.
@@ -22,6 +22,7 @@
2222
* Convenience for building jobs of various kinds.
2323
*
2424
* @author Dave Syer
25+
* @author Mahmoud Ben Hassine
2526
*
2627
* @since 2.2
2728
*
@@ -51,7 +52,7 @@ public SimpleJobBuilder start(Step step) {
5152
* Create a new job builder that will execute a flow.
5253
*
5354
* @param flow a flow to execute
54-
* @return a {@link SimpleJobBuilder}
55+
* @return a {@link JobFlowBuilder}
5556
*/
5657
public JobFlowBuilder start(Flow flow) {
5758
return new FlowJobBuilder(this).start(flow);
@@ -61,7 +62,7 @@ public JobFlowBuilder start(Flow flow) {
6162
* Create a new job builder that will execute a step or sequence of steps.
6263
*
6364
* @param step a step to execute
64-
* @return a {@link SimpleJobBuilder}
65+
* @return a {@link JobFlowBuilder}
6566
*/
6667
public JobFlowBuilder flow(Step step) {
6768
return new FlowJobBuilder(this).start(step);

0 commit comments

Comments
 (0)