Skip to content

Commit 8b6343f

Browse files
acktsapfmbenhassine
authored andcommitted
Add missing initialized flag set to FlowJob
Issue #4142
1 parent 1af6455 commit 8b6343f

File tree

1 file changed

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

1 file changed

+3
-1
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/job/flow/FlowJob.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2019 the original author or authors.
2+
* Copyright 2006-2022 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.
@@ -35,6 +35,7 @@
3535
*
3636
* @author Dave Syer
3737
* @author Mahmoud Ben Hassine
38+
* @author Taeik Lim
3839
* @since 2.0
3940
*/
4041
public class FlowJob extends AbstractJob {
@@ -84,6 +85,7 @@ public Step getStep(String stepName) {
8485
*/
8586
private void init() {
8687
findSteps(flow, stepMap);
88+
initialized = true;
8789
}
8890

8991
/**

0 commit comments

Comments
 (0)