This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-cli.git
The following commit(s) were added to refs/heads/master by this push: new a33b3292 Javadoc a33b3292 is described below commit a33b3292e98eed035b20d092bdf83596082fc226 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Oct 18 08:33:40 2024 -0400 Javadoc --- .../java/org/apache/commons/cli/help/TextStyle.java | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/apache/commons/cli/help/TextStyle.java b/src/main/java/org/apache/commons/cli/help/TextStyle.java index 845095f4..69a6b857 100644 --- a/src/main/java/org/apache/commons/cli/help/TextStyle.java +++ b/src/main/java/org/apache/commons/cli/help/TextStyle.java @@ -27,16 +27,24 @@ import java.util.function.Supplier; */ public final class TextStyle { - /** The alignment possibilities */ + /** + * The alignment possibilities. + */ public enum Alignment { - /** Left justify the text */ + /** + * Left justifies the text. + */ LEFT, - /** Center the text */ + /** + * Centers the text. + */ CENTER, - /** Right justify the text */ + /** + * Right justifies the text. + */ RIGHT } @@ -211,9 +219,9 @@ public final class TextStyle { } /** - * Specifies if the column can be made wider or to narrower width to fit constraints of the HelpAppendable and formatting. + * Sets whether the column can be made wider or to narrower width to fit constraints of the HelpAppendable and formatting. * - * @param scalable if {@code true} the text width can be adjusted. + * @param scalable Whether the text width can be adjusted. * @return this. */ public Builder setScalable(final boolean scalable) {