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 @@

I

 
interpolateVariables() - Method in class picocli.CommandLine.Model.CommandSpec
-
Returns whether whether variables should be interpolated in String values.
+
Returns whether variables should be interpolated in String values.
interpolateVariables(Boolean) - Method in class picocli.CommandLine.Model.CommandSpec
-
Sets whether whether variables should be interpolated in String values.
+
Sets whether variables should be interpolated in String values.
invoke(String, Class<?>, String...) - Static method in class picocli.CommandLine
@@ -2581,7 +2581,7 @@

I

 
isInterpolateVariables() - Method in class picocli.CommandLine
-
Returns whether whether variables should be interpolated in String values.
+
Returns whether variables should be interpolated in String values.
isMap() - Method in interface picocli.CommandLine.Model.ITypeInfo
 
@@ -4058,7 +4058,7 @@

S

setInterpolateVariables(boolean) - Method in class picocli.CommandLine
-
Sets whether whether variables should be interpolated in String values.
+
Sets whether variables should be interpolated in String values.
setNegatableOptionTransformer(CommandLine.INegatableOptionTransformer) - Method in class picocli.CommandLine
diff --git a/docs/apidocs/picocli/CommandLine.Model.CommandSpec.html b/docs/apidocs/picocli/CommandLine.Model.CommandSpec.html index f91012989..fdd531bc2 100644 --- a/docs/apidocs/picocli/CommandLine.Model.CommandSpec.html +++ b/docs/apidocs/picocli/CommandLine.Model.CommandSpec.html @@ -428,13 +428,13 @@

Method Summary

boolean interpolateVariables() -
Returns whether whether variables should be interpolated in String values.
+
Returns whether variables should be interpolated in String values.
CommandLine.Model.CommandSpec interpolateVariables(Boolean interpolate) -
Sets whether whether variables should be interpolated in String values.
+
Sets whether variables should be interpolated in String values.
@@ -1295,7 +1295,7 @@

setAddMethodSubcommands

  • interpolateVariables

    public boolean interpolateVariables()
    -
    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
    @@ -1309,7 +1309,7 @@

    interpolateVariables

  • interpolateVariables

    public CommandLine.Model.CommandSpec interpolateVariables(Boolean interpolate)
    -
    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
    diff --git a/docs/apidocs/picocli/CommandLine.html b/docs/apidocs/picocli/CommandLine.html index 0d14e8978..f23b26bc5 100644 --- a/docs/apidocs/picocli/CommandLine.html +++ b/docs/apidocs/picocli/CommandLine.html @@ -1093,7 +1093,7 @@

    Method Summary

    boolean isInterpolateVariables() -
    Returns whether whether variables should be interpolated in String values.
    +
    Returns whether variables should be interpolated in String values.
    @@ -1555,7 +1555,7 @@

    Method Summary

    CommandLine setInterpolateVariables(boolean interpolate) -
    Sets whether whether variables should be interpolated in String values.
    +
    Sets whether variables should be interpolated in String values.
    @@ -2392,7 +2392,7 @@

    setToggleBooleanFlags

  • isInterpolateVariables

    public boolean isInterpolateVariables()
    -
    Returns whether whether variables should be interpolated in String values. The default is true.
    +
    Returns whether variables should be interpolated in String values. The default is true.
    Since:
    4.0
    @@ -2406,7 +2406,7 @@

    isInterpolateVariables

  • setInterpolateVariables

    public CommandLine setInterpolateVariables(boolean interpolate)
    -
    Sets whether whether variables should be interpolated in String values. The default is true. +
    Sets whether variables should be interpolated in String values. The default is 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; }