Browse Source

SPR-8256

+ fix small doc typo

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4303 50f2f4bb-b051-0410-bef5-90022cba6387
pull/1/merge
Costin Leau 15 years ago
parent
commit
90a0504c5c
  1. 2
      spring-framework-reference/src/cache.xml

2
spring-framework-reference/src/cache.xml

@ -146,7 +146,7 @@ public Book findBook(ISBN isbn, boolean checkWarehouse, boolean includeUsed)</pr @@ -146,7 +146,7 @@ public Book findBook(ISBN isbn, boolean checkWarehouse, boolean includeUsed)</pr
If <literal>true</literal>, 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 <literal>name</literal> has a length shorter then 32:</para>
<programlisting language="java"><![CDATA[@Cacheable(value="book", condition="name.length < 32")
<programlisting language="java"><![CDATA[@Cacheable(value="book", condition="#name.length < 32")
public Book findBook(String name)]]></programlisting>
</section>

Loading…
Cancel
Save