This is an automated email from the ASF dual-hosted git repository.

mgrigorov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/wicket.git


The following commit(s) were added to refs/heads/master by this push:
     new 3697a30133 doc: minor fix of Form.java comment (#1077)
3697a30133 is described below

commit 3697a3013338920878f5c499a7d2cdfe49073275
Author: Vit Rozkovec <[email protected]>
AuthorDate: Thu Jan 16 15:43:05 2025 +0100

    doc: minor fix of Form.java comment (#1077)
---
 wicket-core/src/main/java/org/apache/wicket/markup/html/form/Form.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/wicket-core/src/main/java/org/apache/wicket/markup/html/form/Form.java 
b/wicket-core/src/main/java/org/apache/wicket/markup/html/form/Form.java
index 2c40d09a41..fe2764f279 100644
--- a/wicket-core/src/main/java/org/apache/wicket/markup/html/form/Form.java
+++ b/wicket-core/src/main/java/org/apache/wicket/markup/html/form/Form.java
@@ -1035,7 +1035,7 @@ public class Form<T> extends WebMarkupContainer
                        submitter.onError();
                }
 
-               // invoke Form#onSubmit(..) going from innermost to outermost
+               // invoke Form#onError(..) going from innermost to outermost
                visitFormsPostOrder(processingForm, (form, visit) -> {
                        if (!form.isEnabledInHierarchy() || 
!form.isVisibleInHierarchy())
                        {

Reply via email to