diff --git a/spring-statemachine-core/src/main/java/org/springframework/statemachine/persist/AbstractPersistingStateMachineInterceptor.java b/spring-statemachine-core/src/main/java/org/springframework/statemachine/persist/AbstractPersistingStateMachineInterceptor.java index 8037ecc5..782f6b57 100644 --- a/spring-statemachine-core/src/main/java/org/springframework/statemachine/persist/AbstractPersistingStateMachineInterceptor.java +++ b/spring-statemachine-core/src/main/java/org/springframework/statemachine/persist/AbstractPersistingStateMachineInterceptor.java @@ -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 the type of state * @param the type of event @@ -143,6 +144,7 @@ public abstract class AbstractPersistingStateMachineInterceptor extends * @return the state machine context * @deprecated in favour of {@link #buildStateMachineContext(StateMachine, StateMachine, State, Message)} */ + @Deprecated protected StateMachineContext buildStateMachineContext(StateMachine stateMachine, StateMachine rootStateMachine, State state) { return buildStateMachineContext(stateMachine, rootStateMachine, state, null);