From 4102c62734d1867fcec7ffe6ae0f34774bb35d55 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 --- 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 b248f976edc..19dd7b1f88e 100644 --- a/src/asciidoc/integration.adoc +++ b/src/asciidoc/integration.adoc @@ -8436,9 +8436,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"]