From f19599884dfb6668157c80be815fbfe13d552d20 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Sun, 26 Jun 2016 00:13:53 +0200 Subject: [PATCH] Fixed ambiguous sentence in conditional cache documentation Issue: SPR-14399 (cherry picked from commit 4102c62) --- src/asciidoc/integration.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/asciidoc/integration.adoc b/src/asciidoc/integration.adoc index 532852bcee1..43903b45aa8 100644 --- a/src/asciidoc/integration.adoc +++ b/src/asciidoc/integration.adoc @@ -8400,9 +8400,9 @@ Sometimes, a method might not be suitable for caching all the time (for example, might depend on the given arguments). The cache annotations support such functionality through the `condition` parameter which takes a `SpEL` expression that is evaluated to either `true` or `false`. If `true`, the method is cached - if not, it behaves as if the -method is not cached, that is executed every since time no matter what values are in the -cache or what arguments are used. A quick example - the following method will be cached -only if the argument `name` has a length shorter than 32: +method is not cached, that is executed every time no matter what values are in the cache +or what arguments are used. A quick example - the following method will be cached only +if the argument `name` has a length shorter than 32: [source,java,indent=0] [subs="verbatim,quotes"]