Remove unused private method in SimpleFlow

This commit is contained in:
Mahmoud Ben Hassine
2021-09-09 21:22:45 +02:00
parent c58677e66e
commit 7067dcb1bc

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2006-2014 the original author or authors.
* Copyright 2006-2021 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.
@@ -48,6 +48,7 @@ import org.springframework.beans.factory.InitializingBean;
*
* @author Dave Syer
* @author Michael Minella
* @author Mahmoud Ben Hassine
* @since 2.0
*/
public class SimpleFlow implements Flow, InitializingBean {
@@ -259,10 +260,6 @@ public class SimpleFlow implements Flow, InitializingBean {
return continued;
}
private boolean stateNameEndsWithStepName(State state, StepExecution stepExecution) {
return !(stepExecution == null || state == null) && !state.getName().endsWith(stepExecution.getStepName());
}
/**
* Analyse the transitions provided and generate all the information needed
* to execute the flow.