Skip to content

Commit 5170c0e

Browse files
committed
Fix warning about missing "@deprecated" on a deprecated method
1 parent 7dc5ed8 commit 5170c0e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spring-statemachine-core/src/main/java/org/springframework/statemachine/persist/AbstractPersistingStateMachineInterceptor.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017-2020 the original author or authors.
2+
* Copyright 2017-2025 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.
@@ -51,6 +51,7 @@
5151
* then start it again.
5252
*
5353
* @author Janne Valkealahti
54+
* @author Mahmoud Ben Hassine
5455
*
5556
* @param <S> the type of state
5657
* @param <E> the type of event
@@ -143,6 +144,7 @@ public void setExtendedStateVariablesFunction(
143144
* @return the state machine context
144145
* @deprecated in favour of {@link #buildStateMachineContext(StateMachine, StateMachine, State, Message)}
145146
*/
147+
@Deprecated
146148
protected StateMachineContext<S, E> buildStateMachineContext(StateMachine<S, E> stateMachine,
147149
StateMachine<S, E> rootStateMachine, State<S, E> state) {
148150
return buildStateMachineContext(stateMachine, rootStateMachine, state, null);

0 commit comments

Comments
 (0)