Skip to content

Commit

Permalink
Removed repeated "whether" in JavaDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
rgoldberg authored and remkop committed Nov 30, 2021
1 parent 4948160 commit ce6b3a0
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions docs/apidocs/index-all.html
Original file line number Diff line number Diff line change
Expand Up @@ -2496,11 +2496,11 @@ <h2 class="title">I</h2>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="picocli/CommandLine.Model.CommandSpec.html#interpolateVariables--">interpolateVariables()</a></span> - Method in class picocli.<a href="picocli/CommandLine.Model.CommandSpec.html" title="class in picocli">CommandLine.Model.CommandSpec</a></dt>
<dd>
<div class="block">Returns whether whether variables should be interpolated in String values.</div>
<div class="block">Returns whether variables should be interpolated in String values.</div>
</dd>
<dt><span class="memberNameLink"><a href="picocli/CommandLine.Model.CommandSpec.html#interpolateVariables-java.lang.Boolean-">interpolateVariables(Boolean)</a></span> - Method in class picocli.<a href="picocli/CommandLine.Model.CommandSpec.html" title="class in picocli">CommandLine.Model.CommandSpec</a></dt>
<dd>
<div class="block">Sets whether whether variables should be interpolated in String values.</div>
<div class="block">Sets whether variables should be interpolated in String values.</div>
</dd>
<dt><span class="memberNameLink"><a href="picocli/CommandLine.html#invoke-java.lang.String-java.lang.Class-java.lang.String...-">invoke(String, Class&lt;?&gt;, String...)</a></span> - Static method in class picocli.<a href="picocli/CommandLine.html" title="class in picocli">CommandLine</a></dt>
<dd>
Expand Down Expand Up @@ -2581,7 +2581,7 @@ <h2 class="title">I</h2>
<dd>&nbsp;</dd>
<dt><span class="memberNameLink"><a href="picocli/CommandLine.html#isInterpolateVariables--">isInterpolateVariables()</a></span> - Method in class picocli.<a href="picocli/CommandLine.html" title="class in picocli">CommandLine</a></dt>
<dd>
<div class="block">Returns whether whether variables should be interpolated in String values.</div>
<div class="block">Returns whether variables should be interpolated in String values.</div>
</dd>
<dt><span class="memberNameLink"><a href="picocli/CommandLine.Model.ITypeInfo.html#isMap--">isMap()</a></span> - Method in interface picocli.<a href="picocli/CommandLine.Model.ITypeInfo.html" title="interface in picocli">CommandLine.Model.ITypeInfo</a></dt>
<dd>&nbsp;</dd>
Expand Down Expand Up @@ -4058,7 +4058,7 @@ <h2 class="title">S</h2>
</dd>
<dt><span class="memberNameLink"><a href="picocli/CommandLine.html#setInterpolateVariables-boolean-">setInterpolateVariables(boolean)</a></span> - Method in class picocli.<a href="picocli/CommandLine.html" title="class in picocli">CommandLine</a></dt>
<dd>
<div class="block">Sets whether whether variables should be interpolated in String values.</div>
<div class="block">Sets whether variables should be interpolated in String values.</div>
</dd>
<dt><span class="memberNameLink"><a href="picocli/CommandLine.html#setNegatableOptionTransformer-picocli.CommandLine.INegatableOptionTransformer-">setNegatableOptionTransformer(CommandLine.INegatableOptionTransformer)</a></span> - Method in class picocli.<a href="picocli/CommandLine.html" title="class in picocli">CommandLine</a></dt>
<dd>
Expand Down
8 changes: 4 additions & 4 deletions docs/apidocs/picocli/CommandLine.Model.CommandSpec.html
Original file line number Diff line number Diff line change
Expand Up @@ -428,13 +428,13 @@ <h3>Method Summary</h3>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../picocli/CommandLine.Model.CommandSpec.html#interpolateVariables--">interpolateVariables</a></span>()</code>
<div class="block">Returns whether whether variables should be interpolated in String values.</div>
<div class="block">Returns whether variables should be interpolated in String values.</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code><a href="../picocli/CommandLine.Model.CommandSpec.html" title="class in picocli">CommandLine.Model.CommandSpec</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../picocli/CommandLine.Model.CommandSpec.html#interpolateVariables-java.lang.Boolean-">interpolateVariables</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;interpolate)</code>
<div class="block">Sets whether whether variables should be interpolated in String values.</div>
<div class="block">Sets whether variables should be interpolated in String values.</div>
</td>
</tr>
<tr id="i43" class="rowColor">
Expand Down Expand Up @@ -1295,7 +1295,7 @@ <h4>setAddMethodSubcommands</h4>
<li class="blockList">
<h4>interpolateVariables</h4>
<pre>public&nbsp;boolean&nbsp;interpolateVariables()</pre>
<div class="block">Returns whether whether variables should be interpolated in String values. True by default.</div>
<div class="block">Returns whether variables should be interpolated in String values. True by default.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.0</dd>
Expand All @@ -1309,7 +1309,7 @@ <h4>interpolateVariables</h4>
<li class="blockList">
<h4>interpolateVariables</h4>
<pre>public&nbsp;<a href="../picocli/CommandLine.Model.CommandSpec.html" title="class in picocli">CommandLine.Model.CommandSpec</a>&nbsp;interpolateVariables(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a>&nbsp;interpolate)</pre>
<div class="block">Sets whether whether variables should be interpolated in String values. True by default.</div>
<div class="block">Sets whether variables should be interpolated in String values. True by default.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.0</dd>
Expand Down
8 changes: 4 additions & 4 deletions docs/apidocs/picocli/CommandLine.html
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ <h3>Method Summary</h3>
<tr id="i59" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../picocli/CommandLine.html#isInterpolateVariables--">isInterpolateVariables</a></span>()</code>
<div class="block">Returns whether whether variables should be interpolated in String values.</div>
<div class="block">Returns whether variables should be interpolated in String values.</div>
</td>
</tr>
<tr id="i60" class="altColor">
Expand Down Expand Up @@ -1555,7 +1555,7 @@ <h3>Method Summary</h3>
<tr id="i120" class="altColor">
<td class="colFirst"><code><a href="../picocli/CommandLine.html" title="class in picocli">CommandLine</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../picocli/CommandLine.html#setInterpolateVariables-boolean-">setInterpolateVariables</a></span>(boolean&nbsp;interpolate)</code>
<div class="block">Sets whether whether variables should be interpolated in String values.</div>
<div class="block">Sets whether variables should be interpolated in String values.</div>
</td>
</tr>
<tr id="i121" class="rowColor">
Expand Down Expand Up @@ -2392,7 +2392,7 @@ <h4>setToggleBooleanFlags</h4>
<li class="blockList">
<h4>isInterpolateVariables</h4>
<pre>public&nbsp;boolean&nbsp;isInterpolateVariables()</pre>
<div class="block">Returns whether whether variables should be interpolated in String values. The default is <code>true</code>.</div>
<div class="block">Returns whether variables should be interpolated in String values. The default is <code>true</code>.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>4.0</dd>
Expand All @@ -2406,7 +2406,7 @@ <h4>isInterpolateVariables</h4>
<li class="blockList">
<h4>setInterpolateVariables</h4>
<pre>public&nbsp;<a href="../picocli/CommandLine.html" title="class in picocli">CommandLine</a>&nbsp;setInterpolateVariables(boolean&nbsp;interpolate)</pre>
<div class="block">Sets whether whether variables should be interpolated in String values. The default is <code>true</code>.
<div class="block">Sets whether variables should be interpolated in String values. The default is <code>true</code>.
<p>The specified setting will be registered with this <code>CommandLine</code> and the full hierarchy of its
subcommands and nested sub-subcommands <em>at the moment this method is called</em>. Subcommands added
later will have the default setting. To ensure a setting is applied to all
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/picocli/CommandLine.java
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
* <p>The specified setting will be registered with this {@code CommandLine} and the full hierarchy of its
* subcommands and nested sub-subcommands <em>at the moment this method is called</em>. Subcommands added
* later will have the default setting. To ensure a setting is applied to all
Expand Down Expand Up @@ -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; }

Expand Down

0 comments on commit ce6b3a0

Please sign in to comment.