From ce6b3a0a64fd455d7a0857b85da22ea5c034873e Mon Sep 17 00:00:00 2001 From: Ross Goldberg <484615+rgoldberg@users.noreply.github.com> Date: Mon, 29 Nov 2021 05:37:05 -0500 Subject: [PATCH] Removed repeated "whether" in JavaDoc --- docs/apidocs/index-all.html | 8 ++++---- docs/apidocs/picocli/CommandLine.Model.CommandSpec.html | 8 ++++---- docs/apidocs/picocli/CommandLine.html | 8 ++++---- src/main/java/picocli/CommandLine.java | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/apidocs/index-all.html b/docs/apidocs/index-all.html index 7b586533c..3b6ec3278 100644 --- a/docs/apidocs/index-all.html +++ b/docs/apidocs/index-all.html @@ -2496,11 +2496,11 @@
boolean
interpolateVariables()
-CommandLine.Model.CommandSpec
interpolateVariables(Boolean interpolate)
-public boolean interpolateVariables()-
public CommandLine.Model.CommandSpec interpolateVariables(Boolean interpolate)-
boolean
isInterpolateVariables()
-CommandLine
setInterpolateVariables(boolean interpolate)
-public boolean isInterpolateVariables()-
true
.true
.public CommandLine setInterpolateVariables(boolean interpolate)-
true
.
+true
.
The specified setting will be registered with this CommandLine
and the full hierarchy of its
subcommands and nested sub-subcommands at the moment this method is called. Subcommands added
later will have the default setting. To ensure a setting is applied to all
diff --git a/src/main/java/picocli/CommandLine.java b/src/main/java/picocli/CommandLine.java
index a822605cd..86c4b5c88 100644
--- a/src/main/java/picocli/CommandLine.java
+++ b/src/main/java/picocli/CommandLine.java
@@ -579,10 +579,10 @@ public CommandLine setToggleBooleanFlags(boolean newValue) {
return this;
}
- /** Returns whether whether variables should be interpolated in String values. The default is {@code true}.
+ /** Returns whether variables should be interpolated in String values. The default is {@code true}.
* @since 4.0 */
public boolean isInterpolateVariables() { return getCommandSpec().interpolateVariables(); }
- /** Sets whether whether variables should be interpolated in String values. The default is {@code true}.
+ /** Sets whether variables should be interpolated in String values. The default is {@code true}.
*
The specified setting will be registered with this {@code CommandLine} and the full hierarchy of its * subcommands and nested sub-subcommands at the moment this method is called. Subcommands added * later will have the default setting. To ensure a setting is applied to all @@ -6521,10 +6521,10 @@ private void initCommandHierarchyWithResourceBundle(String bundleBaseName, Resou * @since 4.0 */ public CommandSpec setAddMethodSubcommands(Boolean addMethodSubcommands) { isAddMethodSubcommands = addMethodSubcommands; return this; } - /** Returns whether whether variables should be interpolated in String values. True by default. + /** Returns whether variables should be interpolated in String values. True by default. * @since 4.0 */ public boolean interpolateVariables() { return (interpolateVariables == null) ? DEFAULT_INTERPOLATE_VARIABLES : interpolateVariables; } - /** Sets whether whether variables should be interpolated in String values. True by default. + /** Sets whether variables should be interpolated in String values. True by default. * @since 4.0 */ public CommandSpec interpolateVariables(Boolean interpolate) { interpolateVariables = interpolate; return this; }