Skip to content

Commit a52a9af

Browse files
author
Niall Kegan Pemberton
committed
JavaDoc only - indicate alternative methods to switch to in deprecation messages
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/cli/branches/cli-1.0.x@547061 13f79535-47bb-0310-9956-ffa450edef68
1 parent c29455d commit a52a9af

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/java/org/apache/commons/cli/HelpFormatter.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,15 @@ public class HelpFormatter {
6464
* number of characters per line
6565
*
6666
* @deprecated Scope will be made private for next major version
67+
* - use get/setWidth methods instead.
6768
*/
6869
public int defaultWidth = DEFAULT_WIDTH;
6970

7071
/**
7172
* amount of padding to the left of each line
7273
*
7374
* @deprecated Scope will be made private for next major version
75+
* - use get/setLeftPadding methods instead.
7476
*/
7577
public int defaultLeftPad = DEFAULT_LEFT_PAD;
7678

@@ -79,41 +81,47 @@ public class HelpFormatter {
7981
* to each description line
8082
*
8183
* @deprecated Scope will be made private for next major version
84+
* - use get/setDescPadding methods instead.
8285
*/
8386
public int defaultDescPad = DEFAULT_DESC_PAD;
8487

8588
/**
8689
* the string to display at the begining of the usage statement
8790
*
8891
* @deprecated Scope will be made private for next major version
92+
* - use get/setSyntaxPrefix methods instead.
8993
*/
9094
public String defaultSyntaxPrefix = DEFAULT_SYNTAX_PREFIX;
9195

9296
/**
9397
* the new line string
9498
*
9599
* @deprecated Scope will be made private for next major version
100+
* - use get/setNewLine methods instead.
96101
*/
97102
public String defaultNewLine = System.getProperty("line.separator");
98103

99104
/**
100105
* the shortOpt prefix
101106
*
102107
* @deprecated Scope will be made private for next major version
108+
* - use get/setOptPrefix methods instead.
103109
*/
104110
public String defaultOptPrefix = DEFAULT_OPT_PREFIX;
105111

106112
/**
107113
* the long Opt prefix
108114
*
109115
* @deprecated Scope will be made private for next major version
116+
* - use get/setLongOptPrefix methods instead.
110117
*/
111118
public String defaultLongOptPrefix = DEFAULT_LONG_OPT_PREFIX;
112119

113120
/**
114121
* the name of the argument
115122
*
116123
* @deprecated Scope will be made private for next major version
124+
* - use get/setArgName methods instead.
117125
*/
118126
public String defaultArgName = DEFAULT_ARG_NAME;
119127

0 commit comments

Comments
 (0)