From 131519b962655478e6cf36802ace9d0f702aa823 Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Tue, 5 Mar 2002 15:53:16 +0000 Subject: [PATCH] Expanded JavaDoc comments on variable names. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271754 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/Main.java | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/main/org/apache/tools/ant/Main.java b/src/main/org/apache/tools/ant/Main.java index eee78a578..8aefc771b 100644 --- a/src/main/org/apache/tools/ant/Main.java +++ b/src/main/org/apache/tools/ant/Main.java @@ -829,12 +829,21 @@ public class Main { /** * Writes a formatted list of target names to System.out - * 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 null. + * @param descriptions The associated target descriptions. + * May be null, in which case + * no descriptions are displayed. + * If non-null, this should have + * as many elements as names. + * @param heading The heading to display. + * Should not be null. + * @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 + * are shorter than this). */ private static void printTargets(Vector names, Vector descriptions, String heading, int maxlen) {