Fix warning about missing "@Deprecated" on a deprecated method
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2017-2020 the original author or authors.
|
||||
* Copyright 2017-2025 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.
|
||||
@@ -51,6 +51,7 @@ import org.springframework.util.Assert;
|
||||
* then start it again.
|
||||
*
|
||||
* @author Janne Valkealahti
|
||||
* @author Mahmoud Ben Hassine
|
||||
*
|
||||
* @param <S> the type of state
|
||||
* @param <E> the type of event
|
||||
@@ -143,6 +144,7 @@ public abstract class AbstractPersistingStateMachineInterceptor<S, E, T> extends
|
||||
* @return the state machine context
|
||||
* @deprecated in favour of {@link #buildStateMachineContext(StateMachine, StateMachine, State, Message)}
|
||||
*/
|
||||
@Deprecated
|
||||
protected StateMachineContext<S, E> buildStateMachineContext(StateMachine<S, E> stateMachine,
|
||||
StateMachine<S, E> rootStateMachine, State<S, E> state) {
|
||||
return buildStateMachineContext(stateMachine, rootStateMachine, state, null);
|
||||
|
||||
Reference in New Issue
Block a user