From ca615c8237af5b930761c8eda2d575880b8e7864 Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Sun, 18 Oct 2020 09:16:19 +0100 Subject: [PATCH] Polish --- .../statemachine/support/StateMachineInterceptorList.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-statemachine-core/src/main/java/org/springframework/statemachine/support/StateMachineInterceptorList.java b/spring-statemachine-core/src/main/java/org/springframework/statemachine/support/StateMachineInterceptorList.java index dbe9f2f5..18e108e1 100644 --- a/spring-statemachine-core/src/main/java/org/springframework/statemachine/support/StateMachineInterceptorList.java +++ b/spring-statemachine-core/src/main/java/org/springframework/statemachine/support/StateMachineInterceptorList.java @@ -96,6 +96,7 @@ public class StateMachineInterceptorList { * @param stateMachine the state machine * @param rootStateMachine the root state machine */ + @SuppressWarnings({ "deprecation" }) public void preStateChange(State state, Message message, Transition transition, StateMachine stateMachine, StateMachine rootStateMachine) { for (StateMachineInterceptor interceptor : interceptors) { @@ -113,7 +114,7 @@ public class StateMachineInterceptorList { * @param stateMachine the state machine * @param rootStateMachine the root state machine */ - + @SuppressWarnings({ "deprecation" }) public void postStateChange(State state, Message message, Transition transition, StateMachine stateMachine, StateMachine rootStateMachine) { for (StateMachineInterceptor interceptor : interceptors) {