Skip to content

Commit 3c63147

Browse files
VampireAchaofmbenhassine
authored andcommitted
fix variable name
1 parent c07d0bf commit 3c63147

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-statemachine-samples/datapersist/src/main/java/demo/datapersist/StateMachineConfig.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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[]

0 commit comments

Comments
 (0)