[cvs] expresso commit by rauld: removed todo comments

JCorporate Ltd jcorp at jcorporate.com
Thu Dec 9 10:36:01 UTC 2004


Log Message:
-----------
removed todo comments

Modified Files:
--------------
    expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/controller:
        DefaultForm.java

Revision Data
-------------
Index: DefaultForm.java
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/WEB-INF/src/com/jcorporate/expresso/core/controller/DefaultForm.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/core/controller/DefaultForm.java -Lexpresso-web/WEB-INF/src/com/jcorporate/expresso/core/controller/DefaultForm.java -u -r1.18 -r1.19
--- expresso-web/WEB-INF/src/com/jcorporate/expresso/core/controller/DefaultForm.java
+++ expresso-web/WEB-INF/src/com/jcorporate/expresso/core/controller/DefaultForm.java
@@ -208,9 +208,6 @@
      * @param request The servlet request we are processing.
      * @return ActionErrors containing validation errors.
      */
-    /**
-     * @todo add this method so validation can be called from an external State  *RD* Mon Jul 27 2004
-     */
     public ActionErrors validate(ActionMapping mapping,
                                  HttpServletRequest request) {
 
@@ -243,9 +240,6 @@
      * @param request The servlet request we are processing.
      * @return ActionErrors containing validation errors.
      */
-    /**
-     * @todo add this method so the form can be validated with Struts Validator  *RD* Mon Jul 27 2004
-     */
     public ErrorCollection validate(ControllerRequest request) {
         if (request instanceof ServletControllerRequest) {
             ServletControllerRequest scr = (ServletControllerRequest) request;
@@ -262,10 +256,6 @@
      * @return String
      * @throws ControllerException
      */
-    /** @todo add this method so Struts Validator can find the formset containing the rules  *RD* Mon Jul 27 2004 */
-    /**
-     * @todo I'm sure there must be a more elegant way for doing this  *RD* Mon Jul 27 2004
-     */
     private static String getState(HttpServletRequest request) throws
             ControllerException {
 
@@ -399,9 +389,6 @@
      * <code>Field<code> can control the processing of fields.  If the field's
      * page is less than or equal to this page value, it will be processed.
      */
-    /**
-     * @todo add this method for Struts Validator to work  *RD* Mon Jul 27 2004
-     */
     public Validator initValidator(String key,
                                    Object bean,
                                    ServletContext application,
@@ -434,25 +421,16 @@
     /**
      * Used to indicate the current page of a multi-page form.
      */
-    /**
-     * @todo Struts Validator requires this variable to exist  *RD* Mon Jul 27 2004
-     */
     protected int page = 0;
 
     /**
      * The results returned from the validation performed
      * by the <code>Validator</code>.
      */
-    /**
-     * @todo Struts Validator requires this variable to exist  *RD* Mon Jul 27 2004
-     */
     protected ValidatorResults validatorResults = null;
 
     /**
      * Commons Logging instance.
-     */
-    /**
-     * @todo Struts Validator requires this variable to exist  *RD* Mon Jul 27 2004
      */
     private static Log log = LogFactory.getLog(DefaultForm.class);
 


More information about the cvs mailing list