You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mo...@apache.org on 2015/11/08 18:15:12 UTC

[13/50] wicket git commit: WICKET-6004 Wicket 8 cleanup - removed deprecated allowDefault

WICKET-6004 Wicket 8 cleanup - removed deprecated allowDefault


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

Branch: refs/heads/lambdas
Commit: 8c3f91632bc42ac038a0f9b7baddba09db120191
Parents: 6c30740
Author: Sven Meier <sv...@apache.org>
Authored: Mon Oct 19 13:13:57 2015 +0200
Committer: Sven Meier <sv...@apache.org>
Committed: Mon Oct 19 14:45:11 2015 +0200

----------------------------------------------------------------------
 .../ajax/attributes/AjaxRequestAttributes.java  | 20 --------------------
 1 file changed, 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/8c3f9163/wicket-core/src/main/java/org/apache/wicket/ajax/attributes/AjaxRequestAttributes.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/ajax/attributes/AjaxRequestAttributes.java b/wicket-core/src/main/java/org/apache/wicket/ajax/attributes/AjaxRequestAttributes.java
index fea733d..f39fdf8 100644
--- a/wicket-core/src/main/java/org/apache/wicket/ajax/attributes/AjaxRequestAttributes.java
+++ b/wicket-core/src/main/java/org/apache/wicket/ajax/attributes/AjaxRequestAttributes.java
@@ -348,26 +348,6 @@ public final class AjaxRequestAttributes
 	}
 
 	/**
-	 * @return {@code this} object for chaining
-	 * @deprecated Use #setPreventDefault() instead
-	 */
-	@Deprecated
-	public AjaxRequestAttributes setAllowDefault(boolean allowDefault)
-	{
-		this.preventDefault = !allowDefault;
-		return this;
-	}
-
-	/**
-	 * @deprecated Use #isPreventDefault() instead
-	 */
-	@Deprecated
-	public boolean isAllowDefault()
-	{
-		return !preventDefault;
-	}
-
-	/**
 	 * Only applies for event behaviors. Returns whether the behavior should allow the JavaScript
 	 * event to propagate to the parent of its target.
 	 */