You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Michael Gentry (JIRA)" <ji...@apache.org> on 2014/02/18 20:58:20 UTC

[jira] [Created] (TAP5-2288) Improve JavaDoc clarity for @Cached annotation.

Michael Gentry created TAP5-2288:
------------------------------------

             Summary: Improve JavaDoc clarity for @Cached annotation.
                 Key: TAP5-2288
                 URL: https://issues.apache.org/jira/browse/TAP5-2288
             Project: Tapestry 5
          Issue Type: Improvement
          Components: tapestry-core
            Reporter: Michael Gentry
            Priority: Minor


The JavaDoc for the @Cached annotation:

https://github.com/apache/tapestry-5/blob/master/tapestry-core/src/main/java/org/apache/tapestry5/annotations/Cached.java

Says:

"Indicates that a method should only be evaluated once and the result cached. All further calls to the method will return the cached result."

This implies the value is cached forever, but this link says per-request:

http://tapestry.apache.org/component-cheat-sheet.html

Please correct the JavaDoc or cheat sheet to specify the actual cached duration (forever, session, request, etc).

Thanks!




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)