Rename 'peerRegion(..)' bean definition method and 'peerRegion' local variable to 'booksRegion'.

This commit is contained in:
John Blum
2020-06-08 15:11:15 -07:00
parent 6fbc40daa8
commit 95c0009cdc

View File

@@ -181,14 +181,14 @@ public class ClientCacheDataImportExportAutoConfigurationIntegrationTests
}
@Bean("Books")
LocalRegionFactoryBean<Object, Object> peerRegion(GemFireCache cache) {
LocalRegionFactoryBean<Object, Object> booksRegion(GemFireCache cache) {
LocalRegionFactoryBean<Object, Object> peerRegion = new LocalRegionFactoryBean<>();
LocalRegionFactoryBean<Object, Object> booksRegion = new LocalRegionFactoryBean<>();
peerRegion.setCache(cache);
peerRegion.setPersistent(false);
booksRegion.setCache(cache);
booksRegion.setPersistent(false);
return peerRegion;
return booksRegion;
}
}
}