You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by aa...@apache.org on 2013/11/08 21:52:47 UTC
svn commit: r1540181 -
/click/trunk/click/framework/src/org/apache/click/ActionResult.java
Author: aadrian
Date: Fri Nov 8 20:52:47 2013
New Revision: 1540181
URL: http://svn.apache.org/r1540181
Log:
fix typo in method ActionResult name.
Modified:
click/trunk/click/framework/src/org/apache/click/ActionResult.java
Modified: click/trunk/click/framework/src/org/apache/click/ActionResult.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/ActionResult.java?rev=1540181&r1=1540180&r2=1540181&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/ActionResult.java (original)
+++ click/trunk/click/framework/src/org/apache/click/ActionResult.java Fri Nov 8 20:52:47 2013
@@ -307,7 +307,7 @@ public class ActionResult {
* @return true if the action result should be cached by the client browser,
* false otherwise
*/
- public boolean isCacheActionRestul() {
+ public boolean isCacheActionResult() {
return cacheActionResult;
}
@@ -553,7 +553,7 @@ public class ActionResult {
private void prepare(Context context) {
HttpServletResponse response = context.getResponse();
- if (!isCacheActionRestul()) {
+ if (!isCacheActionResult()) {
// Set headers to disable cache
response.setHeader("Pragma", "no-cache");
response.setHeader("Cache-Control", "no-store, no-cache, must-revalidate, post-check=0, pre-check=0");