File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
spring-statemachine-samples/datapersist/src/main/java/demo/datapersist Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ public static class MongoPersisterConfig {
6060
6161 @ Bean
6262 public StateMachineRuntimePersister <States , Events , String > stateMachineRuntimePersister (
63- MongoDbStateMachineRepository jpaStateMachineRepository ) {
64- return new MongoDbPersistingStateMachineInterceptor <>(jpaStateMachineRepository );
63+ MongoDbStateMachineRepository mongoDbStateMachineRepository ) {
64+ return new MongoDbPersistingStateMachineInterceptor <>(mongoDbStateMachineRepository );
6565 }
6666 }
6767//end::snippetB[]
@@ -73,8 +73,8 @@ public static class RedisPersisterConfig {
7373
7474 @ Bean
7575 public StateMachineRuntimePersister <States , Events , String > stateMachineRuntimePersister (
76- RedisStateMachineRepository jpaStateMachineRepository ) {
77- return new RedisPersistingStateMachineInterceptor <>(jpaStateMachineRepository );
76+ RedisStateMachineRepository redisStateMachineRepository ) {
77+ return new RedisPersistingStateMachineInterceptor <>(redisStateMachineRepository );
7878 }
7979 }
8080//end::snippetC[]
You can’t perform that action at this time.
0 commit comments