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 2018/06/05 12:58:34 UTC
wicket git commit: Fix javadoc
Repository: wicket
Updated Branches:
refs/heads/master dd665ada7 -> a697cab87
Fix javadoc
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/a697cab8
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/a697cab8
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/a697cab8
Branch: refs/heads/master
Commit: a697cab87baf0dac10304bfeb446de7a962ac9c7
Parents: dd665ad
Author: Peter Lamby <pe...@web.de>
Authored: Tue Jun 5 12:44:51 2018 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Tue Jun 5 15:57:48 2018 +0300
----------------------------------------------------------------------
.../wicket/ajax/markup/html/form/AjaxFallbackButton.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/a697cab8/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxFallbackButton.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxFallbackButton.java b/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxFallbackButton.java
index bd820f8..fcb9219 100644
--- a/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxFallbackButton.java
+++ b/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxFallbackButton.java
@@ -157,11 +157,12 @@ public abstract class AjaxFallbackButton extends Button
/**
* Callback for the onClick event. If ajax failed and this event was generated via a normal
- * submission, the target argument will be null. This method will be called <em>before</em>
- * {@link Form#onSubmit()}.
+ * submission, the target argument will be {@link Optional#empty()}. This method will be called
+ * <em>before</em> {@link Form#onSubmit()}.
*
* @param target
- * ajax target if this linked was invoked using ajax, null otherwise
+ * ajax target if this linked was invoked using ajax, {@link Optional#empty()}
+ * otherwise
*/
protected void onSubmit(final Optional<AjaxRequestTarget> target)
{