diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CacheType.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CacheType.java index 8ac65ae4cd..508fe4411b 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CacheType.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/CacheType.java @@ -27,7 +27,7 @@ package org.springframework.boot.autoconfigure.cache; public enum CacheType { /** - * Generic caching using 'Cache 'beans from the context. + * Generic caching using 'Cache' beans from the context. */ GENERIC(GenericCacheConfiguration.class), diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/HazelcastCacheConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/HazelcastCacheConfiguration.java index 65547f26de..3be5a6dd8e 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/HazelcastCacheConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/HazelcastCacheConfiguration.java @@ -74,7 +74,7 @@ class HazelcastCacheConfiguration { } /** - * Determines if the Hazelcast configuration is available. This either kick in if a + * Determines if the Hazelcast configuration is available. This either kicks in if a * default configuration has been found or if property referring to the file to use * has been set. */ diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/JCacheCacheConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/JCacheCacheConfiguration.java index 1bb627fcd1..e28df36b65 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/JCacheCacheConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cache/JCacheCacheConfiguration.java @@ -134,7 +134,7 @@ class JCacheCacheConfiguration { } /** - * Determine if JCache is available. This either kick in if a provider is available + * Determine if JCache is available. This either kicks in if a provider is available * as defined per {@link JCacheProviderAvailableCondition} or if a {@link CacheManager} * has already been defined. */ @@ -154,7 +154,7 @@ class JCacheCacheConfiguration { } /** - * Determine if a JCache provider is available. This either kick in if a default + * Determine if a JCache provider is available. This either kicks in if a default * {@link CachingProvider} has been found or if the property referring to the provider * to use has been set. */ diff --git a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/cache/CacheAutoConfigurationTests.java b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/cache/CacheAutoConfigurationTests.java index d2e03c5bbf..885e7df3a8 100644 --- a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/cache/CacheAutoConfigurationTests.java +++ b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/cache/CacheAutoConfigurationTests.java @@ -325,7 +325,7 @@ public class CacheAutoConfigurationTests { public void hazelcastCacheExplicit() { load(DefaultCacheConfiguration.class, "spring.cache.type=hazelcast"); HazelcastCacheManager cacheManager = validateCacheManager(HazelcastCacheManager.class); - // NOTE: the hazelcast implementation know about a cache in a lazy manner. + // NOTE: the hazelcast implementation knows about a cache in a lazy manner. cacheManager.getCache("defaultCache"); assertThat(cacheManager.getCacheNames(), containsInAnyOrder("defaultCache")); assertThat(cacheManager.getCacheNames(), hasSize(1));