You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by jk...@apache.org on 2014/08/18 16:19:59 UTC

git commit: TAP5-2374 - Unnecessary boolean condition

Repository: tapestry-5
Updated Branches:
  refs/heads/master b7ac7bb5a -> 360f34498


TAP5-2374 - Unnecessary boolean condition


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

Branch: refs/heads/master
Commit: 360f3449800485e88e5589da5fd9c06c97e294ea
Parents: b7ac7bb
Author: fscheffer <ma...@felix-scheffer.de>
Authored: Tue Aug 12 22:11:32 2014 +0200
Committer: Jochen Kemnade <jo...@eddyson.de>
Committed: Mon Aug 18 16:18:57 2014 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/tapestry5/corelib/components/Zone.java   | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/360f3449/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Zone.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Zone.java b/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Zone.java
index a04524a..5d68659 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Zone.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Zone.java
@@ -178,10 +178,7 @@ public class Zone implements ClientBodyElement
 
             e.attribute("data-zone-parameters",
                     parameters.toString(compactJSON));
-        }
 
-        if (insideForm)
-        {
             hiddenFieldPositioner = new HiddenFieldPositioner(writer, rules);
 
             actionSink = new ComponentActionSink(logger, clientDataEncoder);