Add missing initialized flag set to FlowJob

Issue #4142
This commit is contained in:
Taeik Lim
2022-06-29 00:09:48 +09:00
committed by Fadhel Mahmoud Ben Hassine
parent 1af645505c
commit 8b6343fc8f

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2006-2019 the original author or authors.
* Copyright 2006-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -35,6 +35,7 @@ import org.springframework.batch.core.step.StepLocator;
*
* @author Dave Syer
* @author Mahmoud Ben Hassine
* @author Taeik Lim
* @since 2.0
*/
public class FlowJob extends AbstractJob {
@@ -84,6 +85,7 @@ public class FlowJob extends AbstractJob {
*/
private void init() {
findSteps(flow, stepMap);
initialized = true;
}
/**