fix variable name
This commit is contained in:
committed by
Mahmoud Ben Hassine
parent
c07d0bf5c3
commit
3c63147cda
@@ -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[]
|
||||
|
||||
Reference in New Issue
Block a user