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 <[email protected]> Authored: Mon Oct 19 13:13:57 2015 +0200 Committer: Sven Meier <[email protected]> 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. */
