提交 a3062dfe 编写于 作者: W wolverine.kim 提交者: Stephane Nicoll

Fix typo

Closes gh-1129
上级 fae503d5
...@@ -69,7 +69,7 @@ abstract class AbstractCacheInterceptor<O extends AbstractJCacheOperation<A>, A ...@@ -69,7 +69,7 @@ abstract class AbstractCacheInterceptor<O extends AbstractJCacheOperation<A>, A
/** /**
* Convert the collection of caches in a single expected element. * Convert the collection of caches in a single expected element.
* <p>Throw an {@link IllegalStateException} if the collection holds more than one element * <p>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<? extends Cache> caches) { static Cache extractFrom(Collection<? extends Cache> caches) {
if (CollectionUtils.isEmpty(caches)) { if (CollectionUtils.isEmpty(caches)) {
......
...@@ -98,7 +98,7 @@ Similarly a controller can also an `@ResponseBody` return value ...@@ -98,7 +98,7 @@ Similarly a controller can also an `@ResponseBody` return value
in any one of the following ways: in any one of the following ways:
* `Mono<Account>` -- serialize without blocking the given Account when the `Mono` completes. * `Mono<Account>` -- serialize without blocking the given Account when the `Mono` completes.
* `Singe<Account>` -- same but using RxJava. * `Single<Account>` -- same but using RxJava.
* `Flux<Account>` -- streaming scenario, possibly SSE depending on the requested content type. * `Flux<Account>` -- streaming scenario, possibly SSE depending on the requested content type.
* `Flux<SseEvent>` -- SSE streaming. * `Flux<SseEvent>` -- SSE streaming.
* `Observable<SseEvent>` -- same but using RxJava. * `Observable<SseEvent>` -- same but using RxJava.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册