User: stevensa
  Date: 02/03/03 17:32:12

  Modified:    core/src/xdoclet/ejb/tags/vendor StrutsFormTagsHandler.java
  Log:
  Can't use @foo:bar in the middle of a javadoc tag's comment - prettyprinter thinks 
it's a separate tag, and puts it on its own line.
  
  Revision  Changes    Path
  1.13      +6 -8      
xdoclet/core/src/xdoclet/ejb/tags/vendor/StrutsFormTagsHandler.java
  
  Index: StrutsFormTagsHandler.java
  ===================================================================
  RCS file: 
/cvsroot/xdoclet/xdoclet/core/src/xdoclet/ejb/tags/vendor/StrutsFormTagsHandler.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -w -r1.12 -r1.13
  --- StrutsFormTagsHandler.java        21 Jan 2002 21:12:16 -0000      1.12
  +++ StrutsFormTagsHandler.java        4 Mar 2002 01:32:12 -0000       1.13
  @@ -29,7 +29,7 @@
   /**
    * @author    Dmitri Colebatch ([EMAIL PROTECTED])
    * @created   Oct 19, 2001
  - * @version   $Revision: 1.12 $
  + * @version   $Revision: 1.13 $
    */
   public class StrutsFormTagsHandler extends EjbTagsHandler
   {
  @@ -57,13 +57,11 @@
        }
   
        /**
  -      * return true if at least one
  +      * return true if at least one struts:form tag is defined
         *
         * @param clazz                 Class to check
  -      * @return                      whether class has
  +      * @return                      whether class has struts:form tag defined
         * @exception XDocletException  Description of Exception
  -      * @struts:form                 is defined
  -      * @struts:form                 defined
         */
        public static boolean hasFormDefinition( ClassDoc clazz ) throws 
XDocletException
        {
  @@ -77,6 +75,7 @@
        {
                return ( ( StrutsFormSubTask ) 
DocletContext.getInstance().getSubTaskBy( StrutsFormSubTask.SUBTASK_NAME ) 
).getStrutsFormClassPattern();
        }
  +
        /**
         * Return the class name for the current class.
         *
  @@ -170,13 +169,12 @@
        }
   
        /**
  -      * check that method has
  +      * check that method has struts:form-field tag with valid name, or is pk field
  +      * (and pk fields are included) or include-all="true"
         *
         * @param method                Description of Parameter
         * @return                      Description of the Returned Value
         * @exception XDocletException  Description of Exception
  -      * @struts:form-field           with valid name, or is pk field ( and pk fields
  -      *      are included ) or include-all="true"
         */
        protected boolean useMethodInForm( MethodDoc method ) throws XDocletException
        {
  
  
  

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to