Skip to content

Commit

Permalink
refactor: 변수 이름 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
belljun3395 committed Jul 25, 2024
1 parent 41b540b commit bde32d0
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class LocalCacheConfig {
)
val cacheManager = EhcacheCachingProvider().cacheManager

val cache10ConfigurationBuilder = CacheConfigurationBuilder.newCacheConfigurationBuilder(
val cache10Configuration = CacheConfigurationBuilder.newCacheConfigurationBuilder(
Any::class.java,
Any::class.java,
ResourcePoolsBuilder.newResourcePoolsBuilder()
Expand All @@ -49,7 +49,7 @@ class LocalCacheConfig {
.withService(cacheEventListenerConfigurationConfig)
.build()

val cache5ConfigurationBuilder = CacheConfigurationBuilder.newCacheConfigurationBuilder(
val cache5Configuration = CacheConfigurationBuilder.newCacheConfigurationBuilder(
Any::class.java,
Any::class.java,
ResourcePoolsBuilder.newResourcePoolsBuilder()
Expand All @@ -59,12 +59,12 @@ class LocalCacheConfig {
.build()

val selectArticleRecordCacheConfig: javax.cache.configuration.Configuration<Any, Any> =
Eh107Configuration.fromEhcacheCacheConfiguration(cache10ConfigurationBuilder)
Eh107Configuration.fromEhcacheCacheConfiguration(cache10Configuration)
val selectWorkBookRecordCacheConfig: javax.cache.configuration.Configuration<Any, Any> =
Eh107Configuration.fromEhcacheCacheConfiguration(cache10ConfigurationBuilder)
Eh107Configuration.fromEhcacheCacheConfiguration(cache10Configuration)

val selectWriterCacheConfig: javax.cache.configuration.Configuration<Any, Any> =
Eh107Configuration.fromEhcacheCacheConfiguration(cache5ConfigurationBuilder)
Eh107Configuration.fromEhcacheCacheConfiguration(cache5Configuration)

runCatching {
cacheManager.createCache(SELECT_ARTICLE_RECORD_CACHE, selectArticleRecordCacheConfig)
Expand Down

0 comments on commit bde32d0

Please sign in to comment.