From 60e0177d000de9b9c942fd18162b4e8c83b8fee5 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 10 Aug 2016 10:46:43 +0200 Subject: [PATCH] Fix typo See gh-1129 --- .../cache/jcache/interceptor/AbstractCacheInterceptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/AbstractCacheInterceptor.java b/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/AbstractCacheInterceptor.java index cac85264c36..800ceeec149 100644 --- a/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/AbstractCacheInterceptor.java +++ b/spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/AbstractCacheInterceptor.java @@ -69,7 +69,7 @@ abstract class AbstractCacheInterceptor, A /** * Convert the collection of caches in a single expected element. *

Throw an {@link IllegalStateException} if the collection holds more than one element - * @return the singe element or {@code null} if the collection is empty + * @return the single element or {@code null} if the collection is empty */ static Cache extractFrom(Collection caches) { if (CollectionUtils.isEmpty(caches)) {