You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2014/12/29 18:23:38 UTC

[3/4] tapestry-5 git commit: Make a correction to how the event link is created

Make a correction to how the event link is created


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/8caf479f
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/8caf479f
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/8caf479f

Branch: refs/heads/master
Commit: 8caf479fd3998b24b0fe5e7c06666c6eff243643
Parents: 91ab2f9
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Mon Dec 29 08:59:53 2014 -0800
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Mon Dec 29 08:59:53 2014 -0800

----------------------------------------------------------------------
 .../tapestry5/integration/app1/pages/ActionViaLinkDemo.java    | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/8caf479f/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ActionViaLinkDemo.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ActionViaLinkDemo.java b/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ActionViaLinkDemo.java
index dbafd37..5289cac 100644
--- a/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ActionViaLinkDemo.java
+++ b/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ActionViaLinkDemo.java
@@ -29,7 +29,7 @@ public class ActionViaLinkDemo
     Object[]
     onPassivate()
     {
-        return new Object[] { };
+        return new Object[]{};
     }
 
     public String getMessage()
@@ -39,14 +39,12 @@ public class ActionViaLinkDemo
 
     void onUpdateMessage(String message)
     {
-        getActionURL();
-
         this.message = message;
     }
 
     public String getActionURL()
     {
-        Link link = resources.createEventLink("UpdateMessage", false, "from getActionURL()");
+        Link link = resources.createEventLink("UpdateMessage", "from getActionURL()");
 
         return link.toURI();
     }