click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadr...@apache.org
Subject svn commit: r1540181 - /click/trunk/click/framework/src/org/apache/click/ActionResult.java
Date Fri, 08 Nov 2013 20:52:47 GMT
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");



Mime
View raw message