Fix comments for Form.process() to be consistent with method declaration
------------------------------------------------------------------------

                 Key: WICKET-3139
                 URL: https://issues.apache.org/jira/browse/WICKET-3139
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5-M2.1
         Environment: All
            Reporter: Daniel Toffetti
            Priority: Trivial


        /**
         * Process the form. Though you can override this method to provide 
your whole own algorithm, it
         * is not recommended to do so.
         * <p>
         * See the class documentation for further details on the form 
processing
         * </p>
         * 
         * @return False if the form had an error
         */
        private boolean process()
        {

    The comment for Form.process() states "you can override" when in fact the 
method is declared private. This is most likely caused by the method being 
public previously. Either make it protected, or change the comment. Also 
compare to this other method in Form which is public and overridable:

        public void process(IFormSubmittingComponent submittingComponent)
        {

    And lastly, please provide some help in the Migration Guide for those who 
used to override it.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to