You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jv...@apache.org on 2002/03/03 16:29:31 UTC

cvs commit: jakarta-turbine-maven/src/test-java-parser Input.java

jvanzyl     02/03/03 07:29:31

  Modified:    src/test-java-parser Input.java
  Log:
  Adding JavaDoc bits to test the preliminary JavaDoc parsing support.
  
  Revision  Changes    Path
  1.2       +27 -0     jakarta-turbine-maven/src/test-java-parser/Input.java
  
  Index: Input.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/test-java-parser/Input.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Input.java	22 Feb 2002 23:39:42 -0000	1.1
  +++ Input.java	3 Mar 2002 15:29:31 -0000	1.2
  @@ -10,17 +10,44 @@
   import org.apache.turbine.Turbine;
   import org.apache.turbine.ParameterParser;
   
  +/** 
  + * This is the test class for the Java parser that comes with maven.
  + * Testing JavaDoc blocks and normal code blocks.
  + *
  + * @param runners The list of runner threads performing the work.
  + */
   public class DynamicURI
   {
  +    /** Field JavaDoc on a single line */
  +    public String field1;
  +    
  +    /**
  +     * Field JavaDoc on a multiple lines
  +     */
  +    public String field2;
  +
  +    /** Method JavaDoc on a single line */
       public void methodA()
       {
       }
   
  +    /**
  +     * Method JavaDoc
  +     */
       public Object methodB()
       {
  +        // Single line comment
       }
   
       public void methodC()
       {
  +        /*
  +         * Multi line comment
  +         */
       }
  +
  +    // Random single line comment
  +    
  +    /* Random multi line comment on a single line */
  +
   }
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>