From a3062dfe786b22c3fa2e8d558bf07bec8f26b242 Mon Sep 17 00:00:00 2001 From: "wolverine.kim" Date: Thu, 4 Aug 2016 19:11:14 +0900 Subject: [PATCH] Fix typo Closes gh-1129 --- .../cache/jcache/interceptor/AbstractCacheInterceptor.java | 2 +- src/asciidoc/web-reactive.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 cac85264c3..800ceeec14 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)) { diff --git a/src/asciidoc/web-reactive.adoc b/src/asciidoc/web-reactive.adoc index 4348609c93..cc0ec7c605 100644 --- a/src/asciidoc/web-reactive.adoc +++ b/src/asciidoc/web-reactive.adoc @@ -98,7 +98,7 @@ Similarly a controller can also an `@ResponseBody` return value in any one of the following ways: * `Mono` -- serialize without blocking the given Account when the `Mono` completes. -* `Singe` -- same but using RxJava. +* `Single` -- same but using RxJava. * `Flux` -- streaming scenario, possibly SSE depending on the requested content type. * `Flux` -- SSE streaming. * `Observable` -- same but using RxJava. -- GitLab