From 5b6e94d78a5c52d619b3bf25ffe8e6563c59e519 Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Thu, 25 Oct 2018 20:58:18 +0200 Subject: [PATCH] Polish javadoc of CachesEndpoint Closes gh-14969 --- .../boot/actuate/cache/CachesEndpoint.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cache/CachesEndpoint.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cache/CachesEndpoint.java index 291463dcf5..3b2a92aa1f 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cache/CachesEndpoint.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cache/CachesEndpoint.java @@ -74,10 +74,10 @@ public class CachesEndpoint { /** * Return a {@link CacheDescriptor} for the specified cache. - * @param cache then name of the cache + * @param cache the name of the cache * @param cacheManager the name of the cacheManager (can be {@code null} * @return the descriptor of the cache or {@code null} if no such cache exists - * @throws NonUniqueCacheException if more than one cache with that name exist and no + * @throws NonUniqueCacheException if more than one cache with that name exists and no * {@code cacheManager} was provided to identify a unique candidate */ @ReadOperation @@ -96,11 +96,12 @@ public class CachesEndpoint { /** * Clear the specific {@link Cache}. - * @param cache then name of the cache + * @param cache the name of the cache * @param cacheManager the name of the cacheManager (can be {@code null} to match all) * @return {@code true} if the cache was cleared or {@code false} if no such cache * exists - * @throws NonUniqueCacheException if more than one cache with that name exist and no + * @throws NonUniqueCacheException if more than one cache with that name exists and no + * {@code cacheManager} was provided to identify a unique candidate */ @DeleteOperation public boolean clearCache(@Selector String cache, @Nullable String cacheManager) {