@@ -40,7 +40,10 @@ public class HelpFormatter {
4040 /** default padding to the left of each line */
4141 public static final int DEFAULT_LEFT_PAD = 1 ;
4242
43- /** ?? */
43+ /**
44+ * the number of characters of padding to be prefixed
45+ * to each description line
46+ */
4447 public static final int DEFAULT_DESC_PAD = 3 ;
4548
4649 /** the string to display at the begining of the usage statement */
@@ -57,29 +60,62 @@ public class HelpFormatter {
5760
5861 // -------------------------------------------------------------- Attributes
5962
60- /** number of characters per line */
61- private int defaultWidth = DEFAULT_WIDTH ;
63+ /**
64+ * number of characters per line
65+ *
66+ * @deprecated Scope will be made private for next major version
67+ */
68+ public int defaultWidth = DEFAULT_WIDTH ;
6269
63- /** amount of padding to the left of each line */
64- private int defaultLeftPad = DEFAULT_LEFT_PAD ;
70+ /**
71+ * amount of padding to the left of each line
72+ *
73+ * @deprecated Scope will be made private for next major version
74+ */
75+ public int defaultLeftPad = DEFAULT_LEFT_PAD ;
6576
66- /** ?? */
67- private int defaultDescPad = DEFAULT_DESC_PAD ;
77+ /**
78+ * the number of characters of padding to be prefixed
79+ * to each description line
80+ *
81+ * @deprecated Scope will be made private for next major version
82+ */
83+ public int defaultDescPad = DEFAULT_DESC_PAD ;
6884
69- /** the string to display at the begining of the usage statement */
70- private String defaultSyntaxPrefix = DEFAULT_SYNTAX_PREFIX ;
85+ /**
86+ * the string to display at the begining of the usage statement
87+ *
88+ * @deprecated Scope will be made private for next major version
89+ */
90+ public String defaultSyntaxPrefix = DEFAULT_SYNTAX_PREFIX ;
7191
72- /** the new line character/string ?? */
73- private String defaultNewLine = System .getProperty ("line.separator" );
92+ /**
93+ * the new line string
94+ *
95+ * @deprecated Scope will be made private for next major version
96+ */
97+ public String defaultNewLine = System .getProperty ("line.separator" );
7498
75- /** the shortOpt prefix */
76- private String defaultOptPrefix = DEFAULT_OPT_PREFIX ;
99+ /**
100+ * the shortOpt prefix
101+ *
102+ * @deprecated Scope will be made private for next major version
103+ */
104+ public String defaultOptPrefix = DEFAULT_OPT_PREFIX ;
77105
78- /** the long Opt prefix */
79- private String defaultLongOptPrefix = DEFAULT_LONG_OPT_PREFIX ;
106+ /**
107+ * the long Opt prefix
108+ *
109+ * @deprecated Scope will be made private for next major version
110+ */
111+ public String defaultLongOptPrefix = DEFAULT_LONG_OPT_PREFIX ;
80112
81- /** the name of the argument */
82- private String defaultArgName = DEFAULT_ARG_NAME ;
113+ /**
114+ * the name of the argument
115+ *
116+ * @deprecated Scope will be made private for next major version
117+ */
118+ public String defaultArgName = DEFAULT_ARG_NAME ;
83119
84120 /**
85121 * Sets the 'width'.
0 commit comments