From 661593f15f14aaf55d73c7979dab1e900ebae2af Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 15 Oct 2014 15:17:11 +0000
Subject: [PATCH] AutoRefactored comments/javadocs on OpenDJ SDK
---
opendj-sdk/opendj-cli/src/main/java/com/forgerock/opendj/cli/SubCommand.java | 50 ++++++++++++++++++++++++++++++++------------------
1 files changed, 32 insertions(+), 18 deletions(-)
diff --git a/opendj-sdk/opendj-cli/src/main/java/com/forgerock/opendj/cli/SubCommand.java b/opendj-sdk/opendj-cli/src/main/java/com/forgerock/opendj/cli/SubCommand.java
index f320edc..467cc08 100644
--- a/opendj-sdk/opendj-cli/src/main/java/com/forgerock/opendj/cli/SubCommand.java
+++ b/opendj-sdk/opendj-cli/src/main/java/com/forgerock/opendj/cli/SubCommand.java
@@ -40,44 +40,58 @@
* argument parser. The subcommand has a name, a description, and a set of arguments.
*/
public class SubCommand {
- // Indicates whether this subCommand should be hidden in the usage
- // information.
+ /**
+ * Indicates whether this subCommand should be hidden in the usage
+ * information.
+ */
private boolean isHidden;
- // The mapping between the short argument IDs and the arguments for this
- // subcommand.
+ /**
+ * The mapping between the short argument IDs and the arguments for this
+ * subcommand.
+ */
private HashMap<Character, Argument> shortIDMap;
- // The mapping between the long argument IDs and the arguments for this
- // subcommand.
+ /**
+ * The mapping between the long argument IDs and the arguments for this
+ * subcommand.
+ */
private HashMap<String, Argument> longIDMap;
- // The list of arguments associated with this subcommand.
+ /** The list of arguments associated with this subcommand. */
private LinkedList<Argument> arguments;
- // The description for this subcommand.
+ /** The description for this subcommand. */
private LocalizableMessage description;
- // The name of this subcommand.
+ /** The name of this subcommand. */
private String name;
- // The argument parser with which this subcommand is associated.
+ /** The argument parser with which this subcommand is associated. */
private SubCommandArgumentParser parser;
- // Indicates whether this parser will allow additional unnamed
- // arguments at the end of the list.
+ /**
+ * Indicates whether this parser will allow additional unnamed
+ * arguments at the end of the list.
+ */
private boolean allowsTrailingArguments;
- // The maximum number of unnamed trailing arguments that may be
- // provided.
+ /**
+ * The maximum number of unnamed trailing arguments that may be
+ * provided.
+ */
private int maxTrailingArguments;
- // The minimum number of unnamed trailing arguments that may be
- // provided.
+ /**
+ * The minimum number of unnamed trailing arguments that may be
+ * provided.
+ */
private int minTrailingArguments;
- // The display name that will be used for the trailing arguments in
- // the usage information.
+ /**
+ * The display name that will be used for the trailing arguments in
+ * the usage information.
+ */
private String trailingArgsDisplayName;
/**
--
Gitblit v1.10.0