Skip to content

Commit a33b329

Browse files
committed
Javadoc
1 parent 52ce946 commit a33b329

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

src/main/java/org/apache/commons/cli/help/TextStyle.java

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,24 @@ Licensed to the Apache Software Foundation (ASF) under one or more
2727
*/
2828
public final class TextStyle {
2929

30-
/** The alignment possibilities */
30+
/**
31+
* The alignment possibilities.
32+
*/
3133
public enum Alignment {
3234

33-
/** Left justify the text */
35+
/**
36+
* Left justifies the text.
37+
*/
3438
LEFT,
3539

36-
/** Center the text */
40+
/**
41+
* Centers the text.
42+
*/
3743
CENTER,
3844

39-
/** Right justify the text */
45+
/**
46+
* Right justifies the text.
47+
*/
4048
RIGHT
4149
}
4250

@@ -211,9 +219,9 @@ public Builder setMinWidth(final int minWidth) {
211219
}
212220

213221
/**
214-
* Specifies if the column can be made wider or to narrower width to fit constraints of the HelpAppendable and formatting.
222+
* Sets whether the column can be made wider or to narrower width to fit constraints of the HelpAppendable and formatting.
215223
*
216-
* @param scalable if {@code true} the text width can be adjusted.
224+
* @param scalable Whether the text width can be adjusted.
217225
* @return this.
218226
*/
219227
public Builder setScalable(final boolean scalable) {

0 commit comments

Comments
 (0)