From 01a850bf2becac2427df35076d45e6891a6392fe Mon Sep 17 00:00:00 2001 From: Diomidis Spinellis Date: Sun, 25 Dec 2005 15:42:03 +0000 Subject: [PATCH] Expand comment. --- src/gr/spinellis/umlgraph/doclet/Options.java | 8 ++++++-- src/org/umlgraph/doclet/Options.java | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/gr/spinellis/umlgraph/doclet/Options.java b/src/gr/spinellis/umlgraph/doclet/Options.java index bd9fcee..ed3526b 100644 --- a/src/gr/spinellis/umlgraph/doclet/Options.java +++ b/src/gr/spinellis/umlgraph/doclet/Options.java @@ -112,8 +112,12 @@ class Options implements Cloneable { showVisibility = true; showType = true; } - - /** Option checking */ + + /** + * Return the number of arguments associated with the specified option. + * The return value includes the actual option. + * Will return 0 if the option is not supported. + */ public static int optionLength(String option) { if(option.equals("-qualify") || option.equals("-horizontal") || diff --git a/src/org/umlgraph/doclet/Options.java b/src/org/umlgraph/doclet/Options.java index bd9fcee..ed3526b 100644 --- a/src/org/umlgraph/doclet/Options.java +++ b/src/org/umlgraph/doclet/Options.java @@ -112,8 +112,12 @@ class Options implements Cloneable { showVisibility = true; showType = true; } - - /** Option checking */ + + /** + * Return the number of arguments associated with the specified option. + * The return value includes the actual option. + * Will return 0 if the option is not supported. + */ public static int optionLength(String option) { if(option.equals("-qualify") || option.equals("-horizontal") ||