ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsk...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant Main.java
Date Tue, 05 Mar 2002 15:53:17 GMT
jskeet      02/03/05 07:53:17

  Modified:    src/main/org/apache/tools/ant Main.java
  Log:
  Expanded JavaDoc comments on variable names.
  
  Revision  Changes    Path
  1.59      +14 -5     jakarta-ant/src/main/org/apache/tools/ant/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/Main.java,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -u -r1.58 -r1.59
  --- Main.java	5 Mar 2002 15:45:28 -0000	1.58
  +++ Main.java	5 Mar 2002 15:53:16 -0000	1.59
  @@ -829,12 +829,21 @@
   
       /**
        * Writes a formatted list of target names to <code>System.out</code>
  -     * with an optional description
  +     * with an optional description.
        *
  -     * @param names the names to be printed.
  -     * @param descriptions the associated target descriptions.
  -     * @param heading the heading for the print.
  -     * @param maxlen the maximum length of the names of the targets.
  +     * @param names The names to be printed.
  +     *              Must not be <code>null</code>.
  +     * @param descriptions The associated target descriptions.
  +     *                     May be <code>null</code>, in which case
  +     *                     no descriptions are displayed. 
  +     *                     If non-<code>null</code>, this should have
  +     *                     as many elements as <code>names</code>.
  +     * @param heading The heading to display. 
  +     *                Should not be <code>null</code>.
  +     * @param maxlen The maximum length of the names of the targets.
  +     *               If descriptions are given, they are padded to this
  +     *               position so they line up (so long as the names really
  +     *               <i>are</i> shorter than this).
        */
       private static void printTargets(Vector names, Vector descriptions, 
                                        String heading, int maxlen) {
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message