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 {
60
60
61
61
@ Bean
62
62
public StateMachineRuntimePersister <States , Events , String > stateMachineRuntimePersister (
63
- MongoDbStateMachineRepository jpaStateMachineRepository ) {
64
- return new MongoDbPersistingStateMachineInterceptor <>(jpaStateMachineRepository );
63
+ MongoDbStateMachineRepository mongoDbStateMachineRepository ) {
64
+ return new MongoDbPersistingStateMachineInterceptor <>(mongoDbStateMachineRepository );
65
65
}
66
66
}
67
67
//end::snippetB[]
@@ -73,8 +73,8 @@ public static class RedisPersisterConfig {
73
73
74
74
@ Bean
75
75
public StateMachineRuntimePersister <States , Events , String > stateMachineRuntimePersister (
76
- RedisStateMachineRepository jpaStateMachineRepository ) {
77
- return new RedisPersistingStateMachineInterceptor <>(jpaStateMachineRepository );
76
+ RedisStateMachineRepository redisStateMachineRepository ) {
77
+ return new RedisPersistingStateMachineInterceptor <>(redisStateMachineRepository );
78
78
}
79
79
}
80
80
//end::snippetC[]
You can’t perform that action at this time.
0 commit comments