You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2012/02/23 11:44:31 UTC

git commit: WICKET-4065 Improve behavior#getStatelessHint() by accounting for the common cases when behaviors are not stateless

Updated Branches:
  refs/heads/master 33926603a -> d97cee38b


WICKET-4065 Improve behavior#getStatelessHint() by accounting for the common cases when behaviors are not stateless

Remove the override of #getStatelessHint(). This is covered by Behavior class itself (if it implements IBehaviorListener then it is not stateless)


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/d97cee38
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/d97cee38
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/d97cee38

Branch: refs/heads/master
Commit: d97cee38b10e0ec37aacec29d650288041ae8444
Parents: 3392660
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Thu Feb 23 11:44:26 2012 +0100
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Thu Feb 23 11:44:26 2012 +0100

----------------------------------------------------------------------
 .../wicket/behavior/AbstractAjaxBehavior.java      |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/d97cee38/wicket-core/src/main/java/org/apache/wicket/behavior/AbstractAjaxBehavior.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/behavior/AbstractAjaxBehavior.java b/wicket-core/src/main/java/org/apache/wicket/behavior/AbstractAjaxBehavior.java
index b415cfe..b710a17 100644
--- a/wicket-core/src/main/java/org/apache/wicket/behavior/AbstractAjaxBehavior.java
+++ b/wicket-core/src/main/java/org/apache/wicket/behavior/AbstractAjaxBehavior.java
@@ -144,12 +144,4 @@ public abstract class AbstractAjaxBehavior extends Behavior implements IBehavior
 	{
 	}
 
-	/**
-	 * @see org.apache.wicket.behavior.Behavior#getStatelessHint(Component)
-	 */
-	@Override
-	public boolean getStatelessHint(Component component)
-	{
-		return false;
-	}
 }