fix variable name

This commit is contained in:
VampireAchao
2023-11-06 11:17:51 +08:00
committed by Mahmoud Ben Hassine
parent c07d0bf5c3
commit 3c63147cda

View File

@@ -60,8 +60,8 @@ public class StateMachineConfig {
@Bean
public StateMachineRuntimePersister<States, Events, String> stateMachineRuntimePersister(
MongoDbStateMachineRepository jpaStateMachineRepository) {
return new MongoDbPersistingStateMachineInterceptor<>(jpaStateMachineRepository);
MongoDbStateMachineRepository mongoDbStateMachineRepository) {
return new MongoDbPersistingStateMachineInterceptor<>(mongoDbStateMachineRepository);
}
}
//end::snippetB[]
@@ -73,8 +73,8 @@ public class StateMachineConfig {
@Bean
public StateMachineRuntimePersister<States, Events, String> stateMachineRuntimePersister(
RedisStateMachineRepository jpaStateMachineRepository) {
return new RedisPersistingStateMachineInterceptor<>(jpaStateMachineRepository);
RedisStateMachineRepository redisStateMachineRepository) {
return new RedisPersistingStateMachineInterceptor<>(redisStateMachineRepository);
}
}
//end::snippetC[]