commons-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1013656 [44/45] - in /websites/production/commons/content/proper/commons-cli: ./ apidocs/ apidocs/org/apache/commons/cli/ apidocs/org/apache/commons/cli/class-use/ apidocs/resources/ apidocs/src-html/org/apache/commons/cli/ jacoco-aggregat...
Date Thu, 08 Jun 2017 17:47:21 GMT
Modified: websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/OptionBuilder.html
==============================================================================
--- websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/OptionBuilder.html (original)
+++ websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/OptionBuilder.html Thu Jun  8 17:47:18 2017
@@ -33,7 +33,7 @@
 <a class="jxr_linenumber" name="L25" href="#L25">25</a>  <em class="jxr_javadoccomment"> * &lt;p&gt;</em>
 <a class="jxr_linenumber" name="L26" href="#L26">26</a>  <em class="jxr_javadoccomment"> * This class is NOT thread safe. See &lt;a href="https://issues.apache.org/jira/browse/CLI-209"&gt;CLI-209&lt;/a&gt;</em>
 <a class="jxr_linenumber" name="L27" href="#L27">27</a>  <em class="jxr_javadoccomment"> * </em>
-<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <em class="jxr_javadoccomment"> * @version $Id: OptionBuilder.java 1677400 2015-05-03 13:46:08Z britter $</em>
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <em class="jxr_javadoccomment"> * @version $Id$</em>
 <a class="jxr_linenumber" name="L29" href="#L29">29</a>  <em class="jxr_javadoccomment"> * @since 1.0</em>
 <a class="jxr_linenumber" name="L30" href="#L30">30</a>  <em class="jxr_javadoccomment"> * @deprecated since 1.3, use {@link Option#builder(String)} instead</em>
 <a class="jxr_linenumber" name="L31" href="#L31">31</a>  <em class="jxr_javadoccomment"> */</em>
@@ -102,7 +102,7 @@
 <a class="jxr_linenumber" name="L94" href="#L94">94</a>  <em class="jxr_javadoccomment">     * @param newLongopt the long option value</em>
 <a class="jxr_linenumber" name="L95" href="#L95">95</a>  <em class="jxr_javadoccomment">     * @return the OptionBuilder instance</em>
 <a class="jxr_linenumber" name="L96" href="#L96">96</a>  <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L97" href="#L97">97</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a> withLongOpt(String newLongopt)
+<a class="jxr_linenumber" name="L97" href="#L97">97</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a> withLongOpt(<strong class="jxr_keyword">final</strong> String newLongopt)
 <a class="jxr_linenumber" name="L98" href="#L98">98</a>      {
 <a class="jxr_linenumber" name="L99" href="#L99">99</a>          OptionBuilder.longopt = newLongopt;
 <a class="jxr_linenumber" name="L100" href="#L100">100</a> 
@@ -128,7 +128,7 @@
 <a class="jxr_linenumber" name="L120" href="#L120">120</a> <em class="jxr_javadoccomment">     * @param hasArg if true then the Option has an argument value</em>
 <a class="jxr_linenumber" name="L121" href="#L121">121</a> <em class="jxr_javadoccomment">     * @return the OptionBuilder instance</em>
 <a class="jxr_linenumber" name="L122" href="#L122">122</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L123" href="#L123">123</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a> hasArg(<strong class="jxr_keyword">boolean</strong> hasArg)
+<a class="jxr_linenumber" name="L123" href="#L123">123</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a> hasArg(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> hasArg)
 <a class="jxr_linenumber" name="L124" href="#L124">124</a>     {
 <a class="jxr_linenumber" name="L125" href="#L125">125</a>         OptionBuilder.numberOfArgs = hasArg ? 1 : Option.UNINITIALIZED;
 <a class="jxr_linenumber" name="L126" href="#L126">126</a> 
@@ -141,7 +141,7 @@
 <a class="jxr_linenumber" name="L133" href="#L133">133</a> <em class="jxr_javadoccomment">     * @param name the name for the argument value</em>
 <a class="jxr_linenumber" name="L134" href="#L134">134</a> <em class="jxr_javadoccomment">     * @return the OptionBuilder instance</em>
 <a class="jxr_linenumber" name="L135" href="#L135">135</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L136" href="#L136">136</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a> withArgName(String name)
+<a class="jxr_linenumber" name="L136" href="#L136">136</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a> withArgName(<strong class="jxr_keyword">final</strong> String name)
 <a class="jxr_linenumber" name="L137" href="#L137">137</a>     {
 <a class="jxr_linenumber" name="L138" href="#L138">138</a>         OptionBuilder.argName = name;
 <a class="jxr_linenumber" name="L139" href="#L139">139</a> 
@@ -179,7 +179,7 @@
 <a class="jxr_linenumber" name="L171" href="#L171">171</a> <em class="jxr_javadoccomment">     *</em>
 <a class="jxr_linenumber" name="L172" href="#L172">172</a> <em class="jxr_javadoccomment">     * @return the OptionBuilder instance</em>
 <a class="jxr_linenumber" name="L173" href="#L173">173</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L174" href="#L174">174</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a> withValueSeparator(<strong class="jxr_keyword">char</strong> sep)
+<a class="jxr_linenumber" name="L174" href="#L174">174</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a> withValueSeparator(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">char</strong> sep)
 <a class="jxr_linenumber" name="L175" href="#L175">175</a>     {
 <a class="jxr_linenumber" name="L176" href="#L176">176</a>         OptionBuilder.valuesep = sep;
 <a class="jxr_linenumber" name="L177" href="#L177">177</a> 
@@ -216,7 +216,7 @@
 <a class="jxr_linenumber" name="L208" href="#L208">208</a> <em class="jxr_javadoccomment">     * @param newRequired if true then the Option is required</em>
 <a class="jxr_linenumber" name="L209" href="#L209">209</a> <em class="jxr_javadoccomment">     * @return the OptionBuilder instance</em>
 <a class="jxr_linenumber" name="L210" href="#L210">210</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L211" href="#L211">211</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a> isRequired(<strong class="jxr_keyword">boolean</strong> newRequired)
+<a class="jxr_linenumber" name="L211" href="#L211">211</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a> isRequired(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> newRequired)
 <a class="jxr_linenumber" name="L212" href="#L212">212</a>     {
 <a class="jxr_linenumber" name="L213" href="#L213">213</a>         OptionBuilder.required = newRequired;
 <a class="jxr_linenumber" name="L214" href="#L214">214</a> 
@@ -241,7 +241,7 @@
 <a class="jxr_linenumber" name="L233" href="#L233">233</a> <em class="jxr_javadoccomment">     * @param num the number of args that the option can have</em>
 <a class="jxr_linenumber" name="L234" href="#L234">234</a> <em class="jxr_javadoccomment">     * @return the OptionBuilder instance</em>
 <a class="jxr_linenumber" name="L235" href="#L235">235</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L236" href="#L236">236</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a> hasArgs(<strong class="jxr_keyword">int</strong> num)
+<a class="jxr_linenumber" name="L236" href="#L236">236</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a> hasArgs(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> num)
 <a class="jxr_linenumber" name="L237" href="#L237">237</a>     {
 <a class="jxr_linenumber" name="L238" href="#L238">238</a>         OptionBuilder.numberOfArgs = num;
 <a class="jxr_linenumber" name="L239" href="#L239">239</a> 
@@ -281,7 +281,7 @@
 <a class="jxr_linenumber" name="L273" href="#L273">273</a> <em class="jxr_javadoccomment">     * the next Option created can have.</em>
 <a class="jxr_linenumber" name="L274" href="#L274">274</a> <em class="jxr_javadoccomment">     * @return the OptionBuilder instance</em>
 <a class="jxr_linenumber" name="L275" href="#L275">275</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L276" href="#L276">276</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a> hasOptionalArgs(<strong class="jxr_keyword">int</strong> numArgs)
+<a class="jxr_linenumber" name="L276" href="#L276">276</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a> hasOptionalArgs(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> numArgs)
 <a class="jxr_linenumber" name="L277" href="#L277">277</a>     {
 <a class="jxr_linenumber" name="L278" href="#L278">278</a>         OptionBuilder.numberOfArgs = numArgs;
 <a class="jxr_linenumber" name="L279" href="#L279">279</a>         OptionBuilder.optionalArg = <strong class="jxr_keyword">true</strong>;
@@ -301,7 +301,7 @@
 <a class="jxr_linenumber" name="L293" href="#L293">293</a> <em class="jxr_javadoccomment">     * @deprecated since 1.3, use {@link #withType(Class)} instead</em>
 <a class="jxr_linenumber" name="L294" href="#L294">294</a> <em class="jxr_javadoccomment">     */</em>
 <a class="jxr_linenumber" name="L295" href="#L295">295</a>     @Deprecated
-<a class="jxr_linenumber" name="L296" href="#L296">296</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a> withType(Object newType)
+<a class="jxr_linenumber" name="L296" href="#L296">296</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a> withType(<strong class="jxr_keyword">final</strong> Object newType)
 <a class="jxr_linenumber" name="L297" href="#L297">297</a>     {
 <a class="jxr_linenumber" name="L298" href="#L298">298</a>         <strong class="jxr_keyword">return</strong> withType((Class&lt;?&gt;) newType);
 <a class="jxr_linenumber" name="L299" href="#L299">299</a>     }
@@ -314,7 +314,7 @@
 <a class="jxr_linenumber" name="L306" href="#L306">306</a> <em class="jxr_javadoccomment">     * @return the OptionBuilder instance</em>
 <a class="jxr_linenumber" name="L307" href="#L307">307</a> <em class="jxr_javadoccomment">     * @since 1.3</em>
 <a class="jxr_linenumber" name="L308" href="#L308">308</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L309" href="#L309">309</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a> withType(Class&lt;?&gt; newType)
+<a class="jxr_linenumber" name="L309" href="#L309">309</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a> withType(<strong class="jxr_keyword">final</strong> Class&lt;?&gt; newType)
 <a class="jxr_linenumber" name="L310" href="#L310">310</a>     {
 <a class="jxr_linenumber" name="L311" href="#L311">311</a>         OptionBuilder.type = newType;
 <a class="jxr_linenumber" name="L312" href="#L312">312</a> 
@@ -327,7 +327,7 @@
 <a class="jxr_linenumber" name="L319" href="#L319">319</a> <em class="jxr_javadoccomment">     * @param newDescription a description of the Option's purpose</em>
 <a class="jxr_linenumber" name="L320" href="#L320">320</a> <em class="jxr_javadoccomment">     * @return the OptionBuilder instance</em>
 <a class="jxr_linenumber" name="L321" href="#L321">321</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L322" href="#L322">322</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a> withDescription(String newDescription)
+<a class="jxr_linenumber" name="L322" href="#L322">322</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/OptionBuilder.html">OptionBuilder</a> withDescription(<strong class="jxr_keyword">final</strong> String newDescription)
 <a class="jxr_linenumber" name="L323" href="#L323">323</a>     {
 <a class="jxr_linenumber" name="L324" href="#L324">324</a>         OptionBuilder.description = newDescription;
 <a class="jxr_linenumber" name="L325" href="#L325">325</a> 
@@ -343,7 +343,7 @@
 <a class="jxr_linenumber" name="L335" href="#L335">335</a> <em class="jxr_javadoccomment">     * @throws IllegalArgumentException if &lt;code&gt;opt&lt;/code&gt; is not</em>
 <a class="jxr_linenumber" name="L336" href="#L336">336</a> <em class="jxr_javadoccomment">     * a valid character.  See Option.</em>
 <a class="jxr_linenumber" name="L337" href="#L337">337</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L338" href="#L338">338</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/Option.html">Option</a> create(<strong class="jxr_keyword">char</strong> opt) <strong class="jxr_keyword">throws</strong> IllegalArgumentException
+<a class="jxr_linenumber" name="L338" href="#L338">338</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/Option.html">Option</a> create(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">char</strong> opt) <strong class="jxr_keyword">throws</strong> IllegalArgumentException
 <a class="jxr_linenumber" name="L339" href="#L339">339</a>     {
 <a class="jxr_linenumber" name="L340" href="#L340">340</a>         <strong class="jxr_keyword">return</strong> create(String.valueOf(opt));
 <a class="jxr_linenumber" name="L341" href="#L341">341</a>     }
@@ -375,7 +375,7 @@
 <a class="jxr_linenumber" name="L367" href="#L367">367</a> <em class="jxr_javadoccomment">     * @throws IllegalArgumentException if &lt;code&gt;opt&lt;/code&gt; is not</em>
 <a class="jxr_linenumber" name="L368" href="#L368">368</a> <em class="jxr_javadoccomment">     * a valid character.  See Option.</em>
 <a class="jxr_linenumber" name="L369" href="#L369">369</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L370" href="#L370">370</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/Option.html">Option</a> create(String opt) <strong class="jxr_keyword">throws</strong> IllegalArgumentException
+<a class="jxr_linenumber" name="L370" href="#L370">370</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/Option.html">Option</a> create(<strong class="jxr_keyword">final</strong> String opt) <strong class="jxr_keyword">throws</strong> IllegalArgumentException
 <a class="jxr_linenumber" name="L371" href="#L371">371</a>     {
 <a class="jxr_linenumber" name="L372" href="#L372">372</a>         <a href="../../../../org/apache/commons/cli/Option.html">Option</a> option = <strong class="jxr_keyword">null</strong>;
 <a class="jxr_linenumber" name="L373" href="#L373">373</a>         <strong class="jxr_keyword">try</strong>

Modified: websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/OptionGroup.html
==============================================================================
--- websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/OptionGroup.html (original)
+++ websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/OptionGroup.html Thu Jun  8 17:47:18 2017
@@ -34,7 +34,7 @@
 <a class="jxr_linenumber" name="L26" href="#L26">26</a>  <em class="jxr_javadoccomment">/**</em>
 <a class="jxr_linenumber" name="L27" href="#L27">27</a>  <em class="jxr_javadoccomment"> * A group of mutually exclusive options.</em>
 <a class="jxr_linenumber" name="L28" href="#L28">28</a>  <em class="jxr_javadoccomment"> *</em>
-<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <em class="jxr_javadoccomment"> * @version $Id: OptionGroup.java 1749596 2016-06-21 20:27:06Z britter $</em>
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <em class="jxr_javadoccomment"> * @version $Id$</em>
 <a class="jxr_linenumber" name="L30" href="#L30">30</a>  <em class="jxr_javadoccomment"> */</em>
 <a class="jxr_linenumber" name="L31" href="#L31">31</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/commons/cli/OptionGroup.html">OptionGroup</a> <strong class="jxr_keyword">implements</strong> Serializable
 <a class="jxr_linenumber" name="L32" href="#L32">32</a>  {
@@ -56,7 +56,7 @@
 <a class="jxr_linenumber" name="L48" href="#L48">48</a>  <em class="jxr_javadoccomment">     * @param option the option to add to this group</em>
 <a class="jxr_linenumber" name="L49" href="#L49">49</a>  <em class="jxr_javadoccomment">     * @return this option group with the option added</em>
 <a class="jxr_linenumber" name="L50" href="#L50">50</a>  <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L51" href="#L51">51</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/OptionGroup.html">OptionGroup</a> addOption(<a href="../../../../org/apache/commons/cli/Option.html">Option</a> option)
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/OptionGroup.html">OptionGroup</a> addOption(<strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/commons/cli/Option.html">Option</a> option)
 <a class="jxr_linenumber" name="L52" href="#L52">52</a>      {
 <a class="jxr_linenumber" name="L53" href="#L53">53</a>          <em class="jxr_comment">// key   - option name</em>
 <a class="jxr_linenumber" name="L54" href="#L54">54</a>          <em class="jxr_comment">// value - the option</em>
@@ -91,7 +91,7 @@
 <a class="jxr_linenumber" name="L83" href="#L83">83</a>  <em class="jxr_javadoccomment">     * @throws AlreadySelectedException if an option from this group has </em>
 <a class="jxr_linenumber" name="L84" href="#L84">84</a>  <em class="jxr_javadoccomment">     * already been selected.</em>
 <a class="jxr_linenumber" name="L85" href="#L85">85</a>  <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L86" href="#L86">86</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setSelected(<a href="../../../../org/apache/commons/cli/Option.html">Option</a> option) <strong class="jxr_keyword">throws</strong> AlreadySelectedException
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setSelected(<strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/commons/cli/Option.html">Option</a> option) <strong class="jxr_keyword">throws</strong> AlreadySelectedException
 <a class="jxr_linenumber" name="L87" href="#L87">87</a>      {
 <a class="jxr_linenumber" name="L88" href="#L88">88</a>          <strong class="jxr_keyword">if</strong> (option == <strong class="jxr_keyword">null</strong>)
 <a class="jxr_linenumber" name="L89" href="#L89">89</a>          {
@@ -124,7 +124,7 @@
 <a class="jxr_linenumber" name="L116" href="#L116">116</a>     <em class="jxr_javadoccomment">/**</em>
 <a class="jxr_linenumber" name="L117" href="#L117">117</a> <em class="jxr_javadoccomment">     * @param required specifies if this group is required</em>
 <a class="jxr_linenumber" name="L118" href="#L118">118</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L119" href="#L119">119</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setRequired(<strong class="jxr_keyword">boolean</strong> required)
+<a class="jxr_linenumber" name="L119" href="#L119">119</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setRequired(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> required)
 <a class="jxr_linenumber" name="L120" href="#L120">120</a>     {
 <a class="jxr_linenumber" name="L121" href="#L121">121</a>         <strong class="jxr_keyword">this</strong>.required = required;
 <a class="jxr_linenumber" name="L122" href="#L122">122</a>     }
@@ -147,15 +147,15 @@
 <a class="jxr_linenumber" name="L139" href="#L139">139</a>     @Override
 <a class="jxr_linenumber" name="L140" href="#L140">140</a>     <strong class="jxr_keyword">public</strong> String toString()
 <a class="jxr_linenumber" name="L141" href="#L141">141</a>     {
-<a class="jxr_linenumber" name="L142" href="#L142">142</a>         StringBuilder buff = <strong class="jxr_keyword">new</strong> StringBuilder();
+<a class="jxr_linenumber" name="L142" href="#L142">142</a>         <strong class="jxr_keyword">final</strong> StringBuilder buff = <strong class="jxr_keyword">new</strong> StringBuilder();
 <a class="jxr_linenumber" name="L143" href="#L143">143</a>         
-<a class="jxr_linenumber" name="L144" href="#L144">144</a>         Iterator&lt;Option&gt; iter = getOptions().iterator();
+<a class="jxr_linenumber" name="L144" href="#L144">144</a>         <strong class="jxr_keyword">final</strong> Iterator&lt;Option&gt; iter = getOptions().iterator();
 <a class="jxr_linenumber" name="L145" href="#L145">145</a> 
 <a class="jxr_linenumber" name="L146" href="#L146">146</a>         buff.append(<span class="jxr_string">"["</span>);
 <a class="jxr_linenumber" name="L147" href="#L147">147</a> 
 <a class="jxr_linenumber" name="L148" href="#L148">148</a>         <strong class="jxr_keyword">while</strong> (iter.hasNext())
 <a class="jxr_linenumber" name="L149" href="#L149">149</a>         {
-<a class="jxr_linenumber" name="L150" href="#L150">150</a>             <a href="../../../../org/apache/commons/cli/Option.html">Option</a> option = iter.next();
+<a class="jxr_linenumber" name="L150" href="#L150">150</a>             <strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/commons/cli/Option.html">Option</a> option = iter.next();
 <a class="jxr_linenumber" name="L151" href="#L151">151</a> 
 <a class="jxr_linenumber" name="L152" href="#L152">152</a>             <strong class="jxr_keyword">if</strong> (option.getOpt() != <strong class="jxr_keyword">null</strong>)
 <a class="jxr_linenumber" name="L153" href="#L153">153</a>             {

Modified: websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/OptionValidator.html
==============================================================================
--- websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/OptionValidator.html (original)
+++ websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/OptionValidator.html Thu Jun  8 17:47:18 2017
@@ -28,7 +28,7 @@
 <a class="jxr_linenumber" name="L20" href="#L20">20</a>  <em class="jxr_javadoccomment">/**</em>
 <a class="jxr_linenumber" name="L21" href="#L21">21</a>  <em class="jxr_javadoccomment"> * Validates an Option string.</em>
 <a class="jxr_linenumber" name="L22" href="#L22">22</a>  <em class="jxr_javadoccomment"> *</em>
-<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <em class="jxr_javadoccomment"> * @version $Id: OptionValidator.java 1544819 2013-11-23 15:34:31Z tn $</em>
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <em class="jxr_javadoccomment"> * @version $Id$</em>
 <a class="jxr_linenumber" name="L24" href="#L24">24</a>  <em class="jxr_javadoccomment"> * @since 1.1</em>
 <a class="jxr_linenumber" name="L25" href="#L25">25</a>  <em class="jxr_javadoccomment"> */</em>
 <a class="jxr_linenumber" name="L26" href="#L26">26</a>  <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/commons/cli/OptionValidator.html">OptionValidator</a>
@@ -50,7 +50,7 @@
 <a class="jxr_linenumber" name="L42" href="#L42">42</a>  <em class="jxr_javadoccomment">     * @param opt The option string to validate, may be null</em>
 <a class="jxr_linenumber" name="L43" href="#L43">43</a>  <em class="jxr_javadoccomment">     * @throws IllegalArgumentException if the Option is not valid.</em>
 <a class="jxr_linenumber" name="L44" href="#L44">44</a>  <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L45" href="#L45">45</a>      <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> validateOption(String opt) <strong class="jxr_keyword">throws</strong> IllegalArgumentException
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>      <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> validateOption(<strong class="jxr_keyword">final</strong> String opt) <strong class="jxr_keyword">throws</strong> IllegalArgumentException
 <a class="jxr_linenumber" name="L46" href="#L46">46</a>      {
 <a class="jxr_linenumber" name="L47" href="#L47">47</a>          <em class="jxr_comment">// if opt is NULL do not check further</em>
 <a class="jxr_linenumber" name="L48" href="#L48">48</a>          <strong class="jxr_keyword">if</strong> (opt == <strong class="jxr_keyword">null</strong>)
@@ -61,7 +61,7 @@
 <a class="jxr_linenumber" name="L53" href="#L53">53</a>          <em class="jxr_comment">// handle the single character opt</em>
 <a class="jxr_linenumber" name="L54" href="#L54">54</a>          <strong class="jxr_keyword">if</strong> (opt.length() == 1)
 <a class="jxr_linenumber" name="L55" href="#L55">55</a>          {
-<a class="jxr_linenumber" name="L56" href="#L56">56</a>              <strong class="jxr_keyword">char</strong> ch = opt.charAt(0);
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>              <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">char</strong> ch = opt.charAt(0);
 <a class="jxr_linenumber" name="L57" href="#L57">57</a>  
 <a class="jxr_linenumber" name="L58" href="#L58">58</a>              <strong class="jxr_keyword">if</strong> (!isValidOpt(ch))
 <a class="jxr_linenumber" name="L59" href="#L59">59</a>              {
@@ -72,7 +72,7 @@
 <a class="jxr_linenumber" name="L64" href="#L64">64</a>          <em class="jxr_comment">// handle the multi character opt</em>
 <a class="jxr_linenumber" name="L65" href="#L65">65</a>          <strong class="jxr_keyword">else</strong>
 <a class="jxr_linenumber" name="L66" href="#L66">66</a>          {
-<a class="jxr_linenumber" name="L67" href="#L67">67</a>              <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">char</strong> ch : opt.toCharArray())
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>              <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">char</strong> ch : opt.toCharArray())
 <a class="jxr_linenumber" name="L68" href="#L68">68</a>              {
 <a class="jxr_linenumber" name="L69" href="#L69">69</a>                  <strong class="jxr_keyword">if</strong> (!isValidChar(ch))
 <a class="jxr_linenumber" name="L70" href="#L70">70</a>                  {
@@ -89,7 +89,7 @@
 <a class="jxr_linenumber" name="L81" href="#L81">81</a>  <em class="jxr_javadoccomment">     * @param c the option to validate</em>
 <a class="jxr_linenumber" name="L82" href="#L82">82</a>  <em class="jxr_javadoccomment">     * @return true if &lt;code&gt;c&lt;/code&gt; is a letter, '?' or '@', otherwise false.</em>
 <a class="jxr_linenumber" name="L83" href="#L83">83</a>  <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L84" href="#L84">84</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">boolean</strong> isValidOpt(<strong class="jxr_keyword">char</strong> c)
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">boolean</strong> isValidOpt(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">char</strong> c)
 <a class="jxr_linenumber" name="L85" href="#L85">85</a>      {
 <a class="jxr_linenumber" name="L86" href="#L86">86</a>          <strong class="jxr_keyword">return</strong> isValidChar(c) || c == '?' || c == '@';
 <a class="jxr_linenumber" name="L87" href="#L87">87</a>      }
@@ -100,7 +100,7 @@
 <a class="jxr_linenumber" name="L92" href="#L92">92</a>  <em class="jxr_javadoccomment">     * @param c the character to validate</em>
 <a class="jxr_linenumber" name="L93" href="#L93">93</a>  <em class="jxr_javadoccomment">     * @return true if &lt;code&gt;c&lt;/code&gt; is a letter.</em>
 <a class="jxr_linenumber" name="L94" href="#L94">94</a>  <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L95" href="#L95">95</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">boolean</strong> isValidChar(<strong class="jxr_keyword">char</strong> c)
+<a class="jxr_linenumber" name="L95" href="#L95">95</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">boolean</strong> isValidChar(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">char</strong> c)
 <a class="jxr_linenumber" name="L96" href="#L96">96</a>      {
 <a class="jxr_linenumber" name="L97" href="#L97">97</a>          <strong class="jxr_keyword">return</strong> Character.isJavaIdentifierPart(c);
 <a class="jxr_linenumber" name="L98" href="#L98">98</a>      }

Modified: websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/Options.html
==============================================================================
--- websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/Options.html (original)
+++ websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/Options.html Thu Jun  8 17:47:18 2017
@@ -46,7 +46,7 @@
 <a class="jxr_linenumber" name="L38" href="#L38">38</a>  <em class="jxr_javadoccomment"> *</em>
 <a class="jxr_linenumber" name="L39" href="#L39">39</a>  <em class="jxr_javadoccomment"> * @see org.apache.commons.cli.CommandLine</em>
 <a class="jxr_linenumber" name="L40" href="#L40">40</a>  <em class="jxr_javadoccomment"> *</em>
-<a class="jxr_linenumber" name="L41" href="#L41">41</a>  <em class="jxr_javadoccomment"> * @version $Id: Options.java 1754332 2016-07-27 18:47:57Z britter $</em>
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>  <em class="jxr_javadoccomment"> * @version $Id$</em>
 <a class="jxr_linenumber" name="L42" href="#L42">42</a>  <em class="jxr_javadoccomment"> */</em>
 <a class="jxr_linenumber" name="L43" href="#L43">43</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> <strong class="jxr_keyword">implements</strong> Serializable
 <a class="jxr_linenumber" name="L44" href="#L44">44</a>  {
@@ -73,14 +73,14 @@
 <a class="jxr_linenumber" name="L65" href="#L65">65</a>  <em class="jxr_javadoccomment">     * @param group the OptionGroup that is to be added</em>
 <a class="jxr_linenumber" name="L66" href="#L66">66</a>  <em class="jxr_javadoccomment">     * @return the resulting Options instance</em>
 <a class="jxr_linenumber" name="L67" href="#L67">67</a>  <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L68" href="#L68">68</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> addOptionGroup(<a href="../../../../org/apache/commons/cli/OptionGroup.html">OptionGroup</a> group)
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> addOptionGroup(<strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/commons/cli/OptionGroup.html">OptionGroup</a> group)
 <a class="jxr_linenumber" name="L69" href="#L69">69</a>      {
 <a class="jxr_linenumber" name="L70" href="#L70">70</a>          <strong class="jxr_keyword">if</strong> (group.isRequired())
 <a class="jxr_linenumber" name="L71" href="#L71">71</a>          {
 <a class="jxr_linenumber" name="L72" href="#L72">72</a>              requiredOpts.add(group);
 <a class="jxr_linenumber" name="L73" href="#L73">73</a>          }
 <a class="jxr_linenumber" name="L74" href="#L74">74</a>  
-<a class="jxr_linenumber" name="L75" href="#L75">75</a>          <strong class="jxr_keyword">for</strong> (Option option : group.getOptions())
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>          <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">final</strong> Option option : group.getOptions())
 <a class="jxr_linenumber" name="L76" href="#L76">76</a>          {
 <a class="jxr_linenumber" name="L77" href="#L77">77</a>              <em class="jxr_comment">// an Option cannot be required if it is in an</em>
 <a class="jxr_linenumber" name="L78" href="#L78">78</a>              <em class="jxr_comment">// OptionGroup, either the group is required or</em>
@@ -116,7 +116,7 @@
 <a class="jxr_linenumber" name="L108" href="#L108">108</a> <em class="jxr_javadoccomment">     * @return the resulting Options instance</em>
 <a class="jxr_linenumber" name="L109" href="#L109">109</a> <em class="jxr_javadoccomment">     * @since 1.3</em>
 <a class="jxr_linenumber" name="L110" href="#L110">110</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L111" href="#L111">111</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> addOption(String opt, String description)
+<a class="jxr_linenumber" name="L111" href="#L111">111</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> addOption(<strong class="jxr_keyword">final</strong> String opt, <strong class="jxr_keyword">final</strong> String description)
 <a class="jxr_linenumber" name="L112" href="#L112">112</a>     {
 <a class="jxr_linenumber" name="L113" href="#L113">113</a>         addOption(opt, <strong class="jxr_keyword">null</strong>, false, description);
 <a class="jxr_linenumber" name="L114" href="#L114">114</a>         <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
@@ -134,7 +134,7 @@
 <a class="jxr_linenumber" name="L126" href="#L126">126</a> <em class="jxr_javadoccomment">     * @param description Self-documenting description</em>
 <a class="jxr_linenumber" name="L127" href="#L127">127</a> <em class="jxr_javadoccomment">     * @return the resulting Options instance</em>
 <a class="jxr_linenumber" name="L128" href="#L128">128</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L129" href="#L129">129</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> addOption(String opt, <strong class="jxr_keyword">boolean</strong> hasArg, String description)
+<a class="jxr_linenumber" name="L129" href="#L129">129</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> addOption(<strong class="jxr_keyword">final</strong> String opt, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> hasArg, <strong class="jxr_keyword">final</strong> String description)
 <a class="jxr_linenumber" name="L130" href="#L130">130</a>     {
 <a class="jxr_linenumber" name="L131" href="#L131">131</a>         addOption(opt, <strong class="jxr_keyword">null</strong>, hasArg, description);
 <a class="jxr_linenumber" name="L132" href="#L132">132</a>         <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
@@ -153,7 +153,7 @@
 <a class="jxr_linenumber" name="L145" href="#L145">145</a> <em class="jxr_javadoccomment">     * @param description Self-documenting description</em>
 <a class="jxr_linenumber" name="L146" href="#L146">146</a> <em class="jxr_javadoccomment">     * @return the resulting Options instance</em>
 <a class="jxr_linenumber" name="L147" href="#L147">147</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L148" href="#L148">148</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> addOption(String opt, String longOpt, <strong class="jxr_keyword">boolean</strong> hasArg, String description)
+<a class="jxr_linenumber" name="L148" href="#L148">148</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> addOption(<strong class="jxr_keyword">final</strong> String opt, <strong class="jxr_keyword">final</strong> String longOpt, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> hasArg, <strong class="jxr_keyword">final</strong> String description)
 <a class="jxr_linenumber" name="L149" href="#L149">149</a>     {
 <a class="jxr_linenumber" name="L150" href="#L150">150</a>         addOption(<strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/commons/cli/Option.html">Option</a>(opt, longOpt, hasArg, description));
 <a class="jxr_linenumber" name="L151" href="#L151">151</a>         <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
@@ -181,9 +181,9 @@
 <a class="jxr_linenumber" name="L173" href="#L173">173</a> <em class="jxr_javadoccomment">     * @return the resulting Options instance</em>
 <a class="jxr_linenumber" name="L174" href="#L174">174</a> <em class="jxr_javadoccomment">     * @since 1.4</em>
 <a class="jxr_linenumber" name="L175" href="#L175">175</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L176" href="#L176">176</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> addRequiredOption(String opt, String longOpt, <strong class="jxr_keyword">boolean</strong> hasArg, String description)
+<a class="jxr_linenumber" name="L176" href="#L176">176</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> addRequiredOption(<strong class="jxr_keyword">final</strong> String opt, <strong class="jxr_keyword">final</strong> String longOpt, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> hasArg, <strong class="jxr_keyword">final</strong> String description)
 <a class="jxr_linenumber" name="L177" href="#L177">177</a>     {
-<a class="jxr_linenumber" name="L178" href="#L178">178</a>         <a href="../../../../org/apache/commons/cli/Option.html">Option</a> option = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/commons/cli/Option.html">Option</a>(opt, longOpt, hasArg, description);
+<a class="jxr_linenumber" name="L178" href="#L178">178</a>         <strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/commons/cli/Option.html">Option</a> option = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/commons/cli/Option.html">Option</a>(opt, longOpt, hasArg, description);
 <a class="jxr_linenumber" name="L179" href="#L179">179</a>         option.setRequired(<strong class="jxr_keyword">true</strong>);
 <a class="jxr_linenumber" name="L180" href="#L180">180</a>         addOption(option);
 <a class="jxr_linenumber" name="L181" href="#L181">181</a>         <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
@@ -195,9 +195,9 @@
 <a class="jxr_linenumber" name="L187" href="#L187">187</a> <em class="jxr_javadoccomment">     * @param opt the option that is to be added</em>
 <a class="jxr_linenumber" name="L188" href="#L188">188</a> <em class="jxr_javadoccomment">     * @return the resulting Options instance</em>
 <a class="jxr_linenumber" name="L189" href="#L189">189</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L190" href="#L190">190</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> addOption(<a href="../../../../org/apache/commons/cli/Option.html">Option</a> opt)
+<a class="jxr_linenumber" name="L190" href="#L190">190</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> addOption(<strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/commons/cli/Option.html">Option</a> opt)
 <a class="jxr_linenumber" name="L191" href="#L191">191</a>     {
-<a class="jxr_linenumber" name="L192" href="#L192">192</a>         String key = opt.getKey();
+<a class="jxr_linenumber" name="L192" href="#L192">192</a>         <strong class="jxr_keyword">final</strong> String key = opt.getKey();
 <a class="jxr_linenumber" name="L193" href="#L193">193</a> 
 <a class="jxr_linenumber" name="L194" href="#L194">194</a>         <em class="jxr_comment">// add it to the long option list</em>
 <a class="jxr_linenumber" name="L195" href="#L195">195</a>         <strong class="jxr_keyword">if</strong> (opt.hasLongOpt())
@@ -283,7 +283,7 @@
 <a class="jxr_linenumber" name="L275" href="#L275">275</a>     {
 <a class="jxr_linenumber" name="L276" href="#L276">276</a>         opt = Util.stripLeadingHyphens(opt);
 <a class="jxr_linenumber" name="L277" href="#L277">277</a>         
-<a class="jxr_linenumber" name="L278" href="#L278">278</a>         List&lt;String&gt; matchingOpts = <strong class="jxr_keyword">new</strong> ArrayList&lt;String&gt;();
+<a class="jxr_linenumber" name="L278" href="#L278">278</a>         <strong class="jxr_keyword">final</strong> List&lt;String&gt; matchingOpts = <strong class="jxr_keyword">new</strong> ArrayList&lt;String&gt;();
 <a class="jxr_linenumber" name="L279" href="#L279">279</a> 
 <a class="jxr_linenumber" name="L280" href="#L280">280</a>         <em class="jxr_comment">// for a perfect match return the single option only</em>
 <a class="jxr_linenumber" name="L281" href="#L281">281</a>         <strong class="jxr_keyword">if</strong> (longOpts.keySet().contains(opt))
@@ -291,7 +291,7 @@
 <a class="jxr_linenumber" name="L283" href="#L283">283</a>             <strong class="jxr_keyword">return</strong> Collections.singletonList(opt);
 <a class="jxr_linenumber" name="L284" href="#L284">284</a>         }
 <a class="jxr_linenumber" name="L285" href="#L285">285</a> 
-<a class="jxr_linenumber" name="L286" href="#L286">286</a>         <strong class="jxr_keyword">for</strong> (String longOpt : longOpts.keySet())
+<a class="jxr_linenumber" name="L286" href="#L286">286</a>         <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">final</strong> String longOpt : longOpts.keySet())
 <a class="jxr_linenumber" name="L287" href="#L287">287</a>         {
 <a class="jxr_linenumber" name="L288" href="#L288">288</a>             <strong class="jxr_keyword">if</strong> (longOpt.startsWith(opt))
 <a class="jxr_linenumber" name="L289" href="#L289">289</a>             {
@@ -349,7 +349,7 @@
 <a class="jxr_linenumber" name="L341" href="#L341">341</a> <em class="jxr_javadoccomment">     * @param opt the option whose OptionGroup is being queried.</em>
 <a class="jxr_linenumber" name="L342" href="#L342">342</a> <em class="jxr_javadoccomment">     * @return the OptionGroup if &lt;code&gt;opt&lt;/code&gt; is part of an OptionGroup, otherwise return null</em>
 <a class="jxr_linenumber" name="L343" href="#L343">343</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L344" href="#L344">344</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/OptionGroup.html">OptionGroup</a> getOptionGroup(<a href="../../../../org/apache/commons/cli/Option.html">Option</a> opt)
+<a class="jxr_linenumber" name="L344" href="#L344">344</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/OptionGroup.html">OptionGroup</a> getOptionGroup(<strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/commons/cli/Option.html">Option</a> opt)
 <a class="jxr_linenumber" name="L345" href="#L345">345</a>     {
 <a class="jxr_linenumber" name="L346" href="#L346">346</a>         <strong class="jxr_keyword">return</strong> optionGroups.get(opt.getKey());
 <a class="jxr_linenumber" name="L347" href="#L347">347</a>     }
@@ -362,7 +362,7 @@
 <a class="jxr_linenumber" name="L354" href="#L354">354</a>     @Override
 <a class="jxr_linenumber" name="L355" href="#L355">355</a>     <strong class="jxr_keyword">public</strong> String toString()
 <a class="jxr_linenumber" name="L356" href="#L356">356</a>     {
-<a class="jxr_linenumber" name="L357" href="#L357">357</a>         StringBuilder buf = <strong class="jxr_keyword">new</strong> StringBuilder();
+<a class="jxr_linenumber" name="L357" href="#L357">357</a>         <strong class="jxr_keyword">final</strong> StringBuilder buf = <strong class="jxr_keyword">new</strong> StringBuilder();
 <a class="jxr_linenumber" name="L358" href="#L358">358</a> 
 <a class="jxr_linenumber" name="L359" href="#L359">359</a>         buf.append(<span class="jxr_string">"[ Options: [ short "</span>);
 <a class="jxr_linenumber" name="L360" href="#L360">360</a>         buf.append(shortOpts.toString());

Modified: websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/ParseException.html
==============================================================================
--- websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/ParseException.html (original)
+++ websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/ParseException.html Thu Jun  8 17:47:18 2017
@@ -28,7 +28,7 @@
 <a class="jxr_linenumber" name="L20" href="#L20">20</a>  <em class="jxr_javadoccomment">/**</em>
 <a class="jxr_linenumber" name="L21" href="#L21">21</a>  <em class="jxr_javadoccomment"> * Base for Exceptions thrown during parsing of a command-line.</em>
 <a class="jxr_linenumber" name="L22" href="#L22">22</a>  <em class="jxr_javadoccomment"> *</em>
-<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <em class="jxr_javadoccomment"> * @version $Id: ParseException.java 1443102 2013-02-06 18:12:16Z tn $</em>
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <em class="jxr_javadoccomment"> * @version $Id$</em>
 <a class="jxr_linenumber" name="L24" href="#L24">24</a>  <em class="jxr_javadoccomment"> */</em>
 <a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/commons/cli/ParseException.html">ParseException</a> <strong class="jxr_keyword">extends</strong> Exception
 <a class="jxr_linenumber" name="L26" href="#L26">26</a>  {
@@ -43,7 +43,7 @@
 <a class="jxr_linenumber" name="L35" href="#L35">35</a>  <em class="jxr_javadoccomment">     *</em>
 <a class="jxr_linenumber" name="L36" href="#L36">36</a>  <em class="jxr_javadoccomment">     * @param message the detail message</em>
 <a class="jxr_linenumber" name="L37" href="#L37">37</a>  <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L38" href="#L38">38</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/ParseException.html">ParseException</a>(String message)
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/ParseException.html">ParseException</a>(<strong class="jxr_keyword">final</strong> String message)
 <a class="jxr_linenumber" name="L39" href="#L39">39</a>      {
 <a class="jxr_linenumber" name="L40" href="#L40">40</a>          <strong class="jxr_keyword">super</strong>(message);
 <a class="jxr_linenumber" name="L41" href="#L41">41</a>      }

Modified: websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/Parser.html
==============================================================================
--- websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/Parser.html (original)
+++ websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/Parser.html Thu Jun  8 17:47:18 2017
@@ -35,7 +35,7 @@
 <a class="jxr_linenumber" name="L27" href="#L27">27</a>  <em class="jxr_javadoccomment">/**</em>
 <a class="jxr_linenumber" name="L28" href="#L28">28</a>  <em class="jxr_javadoccomment"> * &lt;code&gt;Parser&lt;/code&gt; creates {@link CommandLine}s.</em>
 <a class="jxr_linenumber" name="L29" href="#L29">29</a>  <em class="jxr_javadoccomment"> *</em>
-<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <em class="jxr_javadoccomment"> * @version $Id: Parser.java 1744812 2016-05-20 23:36:20Z ggregory $</em>
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <em class="jxr_javadoccomment"> * @version $Id$</em>
 <a class="jxr_linenumber" name="L31" href="#L31">31</a>  <em class="jxr_javadoccomment"> * @deprecated since 1.3, the two-pass parsing with the flatten method is not enough flexible to handle complex cases</em>
 <a class="jxr_linenumber" name="L32" href="#L32">32</a>  <em class="jxr_javadoccomment"> */</em>
 <a class="jxr_linenumber" name="L33" href="#L33">33</a>  @Deprecated
@@ -50,7 +50,7 @@
 <a class="jxr_linenumber" name="L42" href="#L42">42</a>      <em class="jxr_javadoccomment">/** list of required options strings */</em>
 <a class="jxr_linenumber" name="L43" href="#L43">43</a>      <strong class="jxr_keyword">private</strong> List requiredOptions;
 <a class="jxr_linenumber" name="L44" href="#L44">44</a>  
-<a class="jxr_linenumber" name="L45" href="#L45">45</a>      <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> setOptions(<a href="../../../../org/apache/commons/cli/Options.html">Options</a> options)
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>      <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> setOptions(<strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> options)
 <a class="jxr_linenumber" name="L46" href="#L46">46</a>      {
 <a class="jxr_linenumber" name="L47" href="#L47">47</a>          <strong class="jxr_keyword">this</strong>.options = options;
 <a class="jxr_linenumber" name="L48" href="#L48">48</a>          <strong class="jxr_keyword">this</strong>.requiredOptions = <strong class="jxr_keyword">new</strong> ArrayList(options.getRequiredOptions());
@@ -91,7 +91,7 @@
 <a class="jxr_linenumber" name="L83" href="#L83">83</a>  <em class="jxr_javadoccomment">     * @throws ParseException if there are any problems encountered</em>
 <a class="jxr_linenumber" name="L84" href="#L84">84</a>  <em class="jxr_javadoccomment">     *                        while parsing the command line tokens.</em>
 <a class="jxr_linenumber" name="L85" href="#L85">85</a>  <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L86" href="#L86">86</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/CommandLine.html">CommandLine</a> parse(<a href="../../../../org/apache/commons/cli/Options.html">Options</a> options, String[] arguments) <strong class="jxr_keyword">throws</strong> ParseException
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/CommandLine.html">CommandLine</a> parse(<strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> options, <strong class="jxr_keyword">final</strong> String[] arguments) <strong class="jxr_keyword">throws</strong> ParseException
 <a class="jxr_linenumber" name="L87" href="#L87">87</a>      {
 <a class="jxr_linenumber" name="L88" href="#L88">88</a>          <strong class="jxr_keyword">return</strong> parse(options, arguments, <strong class="jxr_keyword">null</strong>, false);
 <a class="jxr_linenumber" name="L89" href="#L89">89</a>      }
@@ -108,7 +108,7 @@
 <a class="jxr_linenumber" name="L100" href="#L100">100</a> <em class="jxr_javadoccomment">     *</em>
 <a class="jxr_linenumber" name="L101" href="#L101">101</a> <em class="jxr_javadoccomment">     * @since 1.1</em>
 <a class="jxr_linenumber" name="L102" href="#L102">102</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L103" href="#L103">103</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/CommandLine.html">CommandLine</a> parse(<a href="../../../../org/apache/commons/cli/Options.html">Options</a> options, String[] arguments, Properties properties) <strong class="jxr_keyword">throws</strong> ParseException
+<a class="jxr_linenumber" name="L103" href="#L103">103</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/CommandLine.html">CommandLine</a> parse(<strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> options, <strong class="jxr_keyword">final</strong> String[] arguments, <strong class="jxr_keyword">final</strong> Properties properties) <strong class="jxr_keyword">throws</strong> ParseException
 <a class="jxr_linenumber" name="L104" href="#L104">104</a>     {
 <a class="jxr_linenumber" name="L105" href="#L105">105</a>         <strong class="jxr_keyword">return</strong> parse(options, arguments, properties, false);
 <a class="jxr_linenumber" name="L106" href="#L106">106</a>     }
@@ -126,7 +126,7 @@
 <a class="jxr_linenumber" name="L118" href="#L118">118</a> <em class="jxr_javadoccomment">     * @return the &lt;code&gt;CommandLine&lt;/code&gt;</em>
 <a class="jxr_linenumber" name="L119" href="#L119">119</a> <em class="jxr_javadoccomment">     * @throws ParseException if an error occurs when parsing the arguments.</em>
 <a class="jxr_linenumber" name="L120" href="#L120">120</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L121" href="#L121">121</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/CommandLine.html">CommandLine</a> parse(<a href="../../../../org/apache/commons/cli/Options.html">Options</a> options, String[] arguments, <strong class="jxr_keyword">boolean</strong> stopAtNonOption) <strong class="jxr_keyword">throws</strong> ParseException
+<a class="jxr_linenumber" name="L121" href="#L121">121</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/CommandLine.html">CommandLine</a> parse(<strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> options, <strong class="jxr_keyword">final</strong> String[] arguments, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> stopAtNonOption) <strong class="jxr_keyword">throws</strong> ParseException
 <a class="jxr_linenumber" name="L122" href="#L122">122</a>     {
 <a class="jxr_linenumber" name="L123" href="#L123">123</a>         <strong class="jxr_keyword">return</strong> parse(options, arguments, <strong class="jxr_keyword">null</strong>, stopAtNonOption);
 <a class="jxr_linenumber" name="L124" href="#L124">124</a>     }
@@ -150,17 +150,17 @@
 <a class="jxr_linenumber" name="L142" href="#L142">142</a> <em class="jxr_javadoccomment">     *</em>
 <a class="jxr_linenumber" name="L143" href="#L143">143</a> <em class="jxr_javadoccomment">     * @since 1.1</em>
 <a class="jxr_linenumber" name="L144" href="#L144">144</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L145" href="#L145">145</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/CommandLine.html">CommandLine</a> parse(<a href="../../../../org/apache/commons/cli/Options.html">Options</a> options, String[] arguments, Properties properties, <strong class="jxr_keyword">boolean</strong> stopAtNonOption)
+<a class="jxr_linenumber" name="L145" href="#L145">145</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/commons/cli/CommandLine.html">CommandLine</a> parse(<strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> options, String[] arguments, <strong class="jxr_keyword">final</strong> Properties properties, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> stopAtNonOption)
 <a class="jxr_linenumber" name="L146" href="#L146">146</a>             <strong class="jxr_keyword">throws</strong> <a href="../../../../org/apache/commons/cli/ParseException.html">ParseException</a>
 <a class="jxr_linenumber" name="L147" href="#L147">147</a>     {
 <a class="jxr_linenumber" name="L148" href="#L148">148</a>         <em class="jxr_comment">// clear out the data in options in case it's been used before (CLI-71)</em>
-<a class="jxr_linenumber" name="L149" href="#L149">149</a>         <strong class="jxr_keyword">for</strong> (Option opt : options.helpOptions())
+<a class="jxr_linenumber" name="L149" href="#L149">149</a>         <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">final</strong> Option opt : options.helpOptions())
 <a class="jxr_linenumber" name="L150" href="#L150">150</a>         {
 <a class="jxr_linenumber" name="L151" href="#L151">151</a>             opt.clearValues();
 <a class="jxr_linenumber" name="L152" href="#L152">152</a>         }
 <a class="jxr_linenumber" name="L153" href="#L153">153</a>         
 <a class="jxr_linenumber" name="L154" href="#L154">154</a>         <em class="jxr_comment">// clear the data from the groups</em>
-<a class="jxr_linenumber" name="L155" href="#L155">155</a>         <strong class="jxr_keyword">for</strong> (OptionGroup group : options.getOptionGroups())
+<a class="jxr_linenumber" name="L155" href="#L155">155</a>         <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">final</strong> OptionGroup group : options.getOptionGroups())
 <a class="jxr_linenumber" name="L156" href="#L156">156</a>         {
 <a class="jxr_linenumber" name="L157" href="#L157">157</a>             group.setSelected(<strong class="jxr_keyword">null</strong>);
 <a class="jxr_linenumber" name="L158" href="#L158">158</a>         }        
@@ -177,14 +177,14 @@
 <a class="jxr_linenumber" name="L169" href="#L169">169</a>             arguments = <strong class="jxr_keyword">new</strong> String[0];
 <a class="jxr_linenumber" name="L170" href="#L170">170</a>         }
 <a class="jxr_linenumber" name="L171" href="#L171">171</a> 
-<a class="jxr_linenumber" name="L172" href="#L172">172</a>         List&lt;String&gt; tokenList = Arrays.asList(flatten(getOptions(), arguments, stopAtNonOption));
+<a class="jxr_linenumber" name="L172" href="#L172">172</a>         <strong class="jxr_keyword">final</strong> List&lt;String&gt; tokenList = Arrays.asList(flatten(getOptions(), arguments, stopAtNonOption));
 <a class="jxr_linenumber" name="L173" href="#L173">173</a> 
-<a class="jxr_linenumber" name="L174" href="#L174">174</a>         ListIterator&lt;String&gt; iterator = tokenList.listIterator();
+<a class="jxr_linenumber" name="L174" href="#L174">174</a>         <strong class="jxr_keyword">final</strong> ListIterator&lt;String&gt; iterator = tokenList.listIterator();
 <a class="jxr_linenumber" name="L175" href="#L175">175</a> 
 <a class="jxr_linenumber" name="L176" href="#L176">176</a>         <em class="jxr_comment">// process each flattened token</em>
 <a class="jxr_linenumber" name="L177" href="#L177">177</a>         <strong class="jxr_keyword">while</strong> (iterator.hasNext())
 <a class="jxr_linenumber" name="L178" href="#L178">178</a>         {
-<a class="jxr_linenumber" name="L179" href="#L179">179</a>             String t = iterator.next();
+<a class="jxr_linenumber" name="L179" href="#L179">179</a>             <strong class="jxr_keyword">final</strong> String t = iterator.next();
 <a class="jxr_linenumber" name="L180" href="#L180">180</a> 
 <a class="jxr_linenumber" name="L181" href="#L181">181</a>             <em class="jxr_comment">// the value is the double-dash</em>
 <a class="jxr_linenumber" name="L182" href="#L182">182</a>             <strong class="jxr_keyword">if</strong> (<span class="jxr_string">"--"</span>.equals(t))
@@ -235,7 +235,7 @@
 <a class="jxr_linenumber" name="L227" href="#L227">227</a>             {
 <a class="jxr_linenumber" name="L228" href="#L228">228</a>                 <strong class="jxr_keyword">while</strong> (iterator.hasNext())
 <a class="jxr_linenumber" name="L229" href="#L229">229</a>                 {
-<a class="jxr_linenumber" name="L230" href="#L230">230</a>                     String str = iterator.next();
+<a class="jxr_linenumber" name="L230" href="#L230">230</a>                     <strong class="jxr_keyword">final</strong> String str = iterator.next();
 <a class="jxr_linenumber" name="L231" href="#L231">231</a> 
 <a class="jxr_linenumber" name="L232" href="#L232">232</a>                     <em class="jxr_comment">// ensure only one double-dash is added</em>
 <a class="jxr_linenumber" name="L233" href="#L233">233</a>                     <strong class="jxr_keyword">if</strong> (!<span class="jxr_string">"--"</span>.equals(str))
@@ -259,31 +259,31 @@
 <a class="jxr_linenumber" name="L251" href="#L251">251</a> <em class="jxr_javadoccomment">     * @throws ParseException if there are any problems encountered</em>
 <a class="jxr_linenumber" name="L252" href="#L252">252</a> <em class="jxr_javadoccomment">     *                        while processing the properties.</em>
 <a class="jxr_linenumber" name="L253" href="#L253">253</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L254" href="#L254">254</a>     <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> processProperties(Properties properties) <strong class="jxr_keyword">throws</strong> ParseException
+<a class="jxr_linenumber" name="L254" href="#L254">254</a>     <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> processProperties(<strong class="jxr_keyword">final</strong> Properties properties) <strong class="jxr_keyword">throws</strong> ParseException
 <a class="jxr_linenumber" name="L255" href="#L255">255</a>     {
 <a class="jxr_linenumber" name="L256" href="#L256">256</a>         <strong class="jxr_keyword">if</strong> (properties == <strong class="jxr_keyword">null</strong>)
 <a class="jxr_linenumber" name="L257" href="#L257">257</a>         {
 <a class="jxr_linenumber" name="L258" href="#L258">258</a>             <strong class="jxr_keyword">return</strong>;
 <a class="jxr_linenumber" name="L259" href="#L259">259</a>         }
 <a class="jxr_linenumber" name="L260" href="#L260">260</a> 
-<a class="jxr_linenumber" name="L261" href="#L261">261</a>         <strong class="jxr_keyword">for</strong> (Enumeration&lt;?&gt; e = properties.propertyNames(); e.hasMoreElements();)
+<a class="jxr_linenumber" name="L261" href="#L261">261</a>         <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">final</strong> Enumeration&lt;?&gt; e = properties.propertyNames(); e.hasMoreElements();)
 <a class="jxr_linenumber" name="L262" href="#L262">262</a>         {
-<a class="jxr_linenumber" name="L263" href="#L263">263</a>             String option = e.nextElement().toString();
+<a class="jxr_linenumber" name="L263" href="#L263">263</a>             <strong class="jxr_keyword">final</strong> String option = e.nextElement().toString();
 <a class="jxr_linenumber" name="L264" href="#L264">264</a>             
-<a class="jxr_linenumber" name="L265" href="#L265">265</a>             <a href="../../../../org/apache/commons/cli/Option.html">Option</a> opt = options.getOption(option);
+<a class="jxr_linenumber" name="L265" href="#L265">265</a>             <strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/commons/cli/Option.html">Option</a> opt = options.getOption(option);
 <a class="jxr_linenumber" name="L266" href="#L266">266</a>             <strong class="jxr_keyword">if</strong> (opt == <strong class="jxr_keyword">null</strong>)
 <a class="jxr_linenumber" name="L267" href="#L267">267</a>             {
 <a class="jxr_linenumber" name="L268" href="#L268">268</a>                 <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/commons/cli/UnrecognizedOptionException.html">UnrecognizedOptionException</a>(<span class="jxr_string">"Default option wasn't defined"</span>, option);
 <a class="jxr_linenumber" name="L269" href="#L269">269</a>             }
 <a class="jxr_linenumber" name="L270" href="#L270">270</a>             
 <a class="jxr_linenumber" name="L271" href="#L271">271</a>             <em class="jxr_comment">// if the option is part of a group, check if another option of the group has been selected</em>
-<a class="jxr_linenumber" name="L272" href="#L272">272</a>             <a href="../../../../org/apache/commons/cli/OptionGroup.html">OptionGroup</a> group = options.getOptionGroup(opt);
-<a class="jxr_linenumber" name="L273" href="#L273">273</a>             <strong class="jxr_keyword">boolean</strong> selected = group != <strong class="jxr_keyword">null</strong> &amp;&amp; group.getSelected() != <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="L272" href="#L272">272</a>             <strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/commons/cli/OptionGroup.html">OptionGroup</a> group = options.getOptionGroup(opt);
+<a class="jxr_linenumber" name="L273" href="#L273">273</a>             <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> selected = group != <strong class="jxr_keyword">null</strong> &amp;&amp; group.getSelected() != <strong class="jxr_keyword">null</strong>;
 <a class="jxr_linenumber" name="L274" href="#L274">274</a>             
 <a class="jxr_linenumber" name="L275" href="#L275">275</a>             <strong class="jxr_keyword">if</strong> (!cmd.hasOption(option) &amp;&amp; !selected)
 <a class="jxr_linenumber" name="L276" href="#L276">276</a>             {
 <a class="jxr_linenumber" name="L277" href="#L277">277</a>                 <em class="jxr_comment">// get the value from the properties instance</em>
-<a class="jxr_linenumber" name="L278" href="#L278">278</a>                 String value = properties.getProperty(option);
+<a class="jxr_linenumber" name="L278" href="#L278">278</a>                 <strong class="jxr_keyword">final</strong> String value = properties.getProperty(option);
 <a class="jxr_linenumber" name="L279" href="#L279">279</a> 
 <a class="jxr_linenumber" name="L280" href="#L280">280</a>                 <strong class="jxr_keyword">if</strong> (opt.hasArg())
 <a class="jxr_linenumber" name="L281" href="#L281">281</a>                 {
@@ -293,7 +293,7 @@
 <a class="jxr_linenumber" name="L285" href="#L285">285</a>                         {
 <a class="jxr_linenumber" name="L286" href="#L286">286</a>                             opt.addValueForProcessing(value);
 <a class="jxr_linenumber" name="L287" href="#L287">287</a>                         }
-<a class="jxr_linenumber" name="L288" href="#L288">288</a>                         <strong class="jxr_keyword">catch</strong> (RuntimeException exp) <em class="jxr_comment">//NOPMD</em>
+<a class="jxr_linenumber" name="L288" href="#L288">288</a>                         <strong class="jxr_keyword">catch</strong> (<strong class="jxr_keyword">final</strong> RuntimeException exp) <em class="jxr_comment">//NOPMD</em>
 <a class="jxr_linenumber" name="L289" href="#L289">289</a>                         {
 <a class="jxr_linenumber" name="L290" href="#L290">290</a>                             <em class="jxr_comment">// if we cannot add the value don't worry about it</em>
 <a class="jxr_linenumber" name="L291" href="#L291">291</a>                         }
@@ -340,12 +340,12 @@
 <a class="jxr_linenumber" name="L332" href="#L332">332</a> <em class="jxr_javadoccomment">     * @throws ParseException if an argument value is required</em>
 <a class="jxr_linenumber" name="L333" href="#L333">333</a> <em class="jxr_javadoccomment">     * and it is has not been found.</em>
 <a class="jxr_linenumber" name="L334" href="#L334">334</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L335" href="#L335">335</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> processArgs(<a href="../../../../org/apache/commons/cli/Option.html">Option</a> opt, ListIterator&lt;String&gt; iter) <strong class="jxr_keyword">throws</strong> ParseException
+<a class="jxr_linenumber" name="L335" href="#L335">335</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> processArgs(<strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/commons/cli/Option.html">Option</a> opt, <strong class="jxr_keyword">final</strong> ListIterator&lt;String&gt; iter) <strong class="jxr_keyword">throws</strong> ParseException
 <a class="jxr_linenumber" name="L336" href="#L336">336</a>     {
 <a class="jxr_linenumber" name="L337" href="#L337">337</a>         <em class="jxr_comment">// loop until an option is found</em>
 <a class="jxr_linenumber" name="L338" href="#L338">338</a>         <strong class="jxr_keyword">while</strong> (iter.hasNext())
 <a class="jxr_linenumber" name="L339" href="#L339">339</a>         {
-<a class="jxr_linenumber" name="L340" href="#L340">340</a>             String str = iter.next();
+<a class="jxr_linenumber" name="L340" href="#L340">340</a>             <strong class="jxr_keyword">final</strong> String str = iter.next();
 <a class="jxr_linenumber" name="L341" href="#L341">341</a>             
 <a class="jxr_linenumber" name="L342" href="#L342">342</a>             <em class="jxr_comment">// found an Option, not an argument</em>
 <a class="jxr_linenumber" name="L343" href="#L343">343</a>             <strong class="jxr_keyword">if</strong> (getOptions().hasOption(str) &amp;&amp; str.startsWith(<span class="jxr_string">"-"</span>))
@@ -359,7 +359,7 @@
 <a class="jxr_linenumber" name="L351" href="#L351">351</a>             {
 <a class="jxr_linenumber" name="L352" href="#L352">352</a>                 opt.addValueForProcessing(Util.stripLeadingAndTrailingQuotes(str));
 <a class="jxr_linenumber" name="L353" href="#L353">353</a>             }
-<a class="jxr_linenumber" name="L354" href="#L354">354</a>             <strong class="jxr_keyword">catch</strong> (RuntimeException exp)
+<a class="jxr_linenumber" name="L354" href="#L354">354</a>             <strong class="jxr_keyword">catch</strong> (<strong class="jxr_keyword">final</strong> RuntimeException exp)
 <a class="jxr_linenumber" name="L355" href="#L355">355</a>             {
 <a class="jxr_linenumber" name="L356" href="#L356">356</a>                 iter.previous();
 <a class="jxr_linenumber" name="L357" href="#L357">357</a>                 <strong class="jxr_keyword">break</strong>;
@@ -381,9 +381,9 @@
 <a class="jxr_linenumber" name="L373" href="#L373">373</a> <em class="jxr_javadoccomment">     *</em>
 <a class="jxr_linenumber" name="L374" href="#L374">374</a> <em class="jxr_javadoccomment">     * @throws ParseException if &lt;code&gt;arg&lt;/code&gt; does not represent an Option</em>
 <a class="jxr_linenumber" name="L375" href="#L375">375</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L376" href="#L376">376</a>     <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> processOption(String arg, ListIterator&lt;String&gt; iter) <strong class="jxr_keyword">throws</strong> ParseException
+<a class="jxr_linenumber" name="L376" href="#L376">376</a>     <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">void</strong> processOption(<strong class="jxr_keyword">final</strong> String arg, <strong class="jxr_keyword">final</strong> ListIterator&lt;String&gt; iter) <strong class="jxr_keyword">throws</strong> ParseException
 <a class="jxr_linenumber" name="L377" href="#L377">377</a>     {
-<a class="jxr_linenumber" name="L378" href="#L378">378</a>         <strong class="jxr_keyword">boolean</strong> hasOption = getOptions().hasOption(arg);
+<a class="jxr_linenumber" name="L378" href="#L378">378</a>         <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> hasOption = getOptions().hasOption(arg);
 <a class="jxr_linenumber" name="L379" href="#L379">379</a> 
 <a class="jxr_linenumber" name="L380" href="#L380">380</a>         <em class="jxr_comment">// if there is no option throw an UnrecognizedOptionException</em>
 <a class="jxr_linenumber" name="L381" href="#L381">381</a>         <strong class="jxr_keyword">if</strong> (!hasOption)
@@ -392,7 +392,7 @@
 <a class="jxr_linenumber" name="L384" href="#L384">384</a>         }
 <a class="jxr_linenumber" name="L385" href="#L385">385</a> 
 <a class="jxr_linenumber" name="L386" href="#L386">386</a>         <em class="jxr_comment">// get the option represented by arg</em>
-<a class="jxr_linenumber" name="L387" href="#L387">387</a>         <a href="../../../../org/apache/commons/cli/Option.html">Option</a> opt = (Option) getOptions().getOption(arg).clone();
+<a class="jxr_linenumber" name="L387" href="#L387">387</a>         <strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/commons/cli/Option.html">Option</a> opt = (Option) getOptions().getOption(arg).clone();
 <a class="jxr_linenumber" name="L388" href="#L388">388</a>         
 <a class="jxr_linenumber" name="L389" href="#L389">389</a>         <em class="jxr_comment">// update the required options and groups</em>
 <a class="jxr_linenumber" name="L390" href="#L390">390</a>         updateRequiredOptions(opt);
@@ -412,7 +412,7 @@
 <a class="jxr_linenumber" name="L404" href="#L404">404</a> <em class="jxr_javadoccomment">     * </em>
 <a class="jxr_linenumber" name="L405" href="#L405">405</a> <em class="jxr_javadoccomment">     * @param opt</em>
 <a class="jxr_linenumber" name="L406" href="#L406">406</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L407" href="#L407">407</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> updateRequiredOptions(<a href="../../../../org/apache/commons/cli/Option.html">Option</a> opt) <strong class="jxr_keyword">throws</strong> ParseException
+<a class="jxr_linenumber" name="L407" href="#L407">407</a>     <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> updateRequiredOptions(<strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/commons/cli/Option.html">Option</a> opt) <strong class="jxr_keyword">throws</strong> ParseException
 <a class="jxr_linenumber" name="L408" href="#L408">408</a>     {
 <a class="jxr_linenumber" name="L409" href="#L409">409</a>         <em class="jxr_comment">// if the option is a required option remove the option from</em>
 <a class="jxr_linenumber" name="L410" href="#L410">410</a>         <em class="jxr_comment">// the requiredOptions list</em>
@@ -425,7 +425,7 @@
 <a class="jxr_linenumber" name="L417" href="#L417">417</a>         <em class="jxr_comment">// option of the group</em>
 <a class="jxr_linenumber" name="L418" href="#L418">418</a>         <strong class="jxr_keyword">if</strong> (getOptions().getOptionGroup(opt) != <strong class="jxr_keyword">null</strong>)
 <a class="jxr_linenumber" name="L419" href="#L419">419</a>         {
-<a class="jxr_linenumber" name="L420" href="#L420">420</a>             <a href="../../../../org/apache/commons/cli/OptionGroup.html">OptionGroup</a> group = getOptions().getOptionGroup(opt);
+<a class="jxr_linenumber" name="L420" href="#L420">420</a>             <strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/commons/cli/OptionGroup.html">OptionGroup</a> group = getOptions().getOptionGroup(opt);
 <a class="jxr_linenumber" name="L421" href="#L421">421</a> 
 <a class="jxr_linenumber" name="L422" href="#L422">422</a>             <strong class="jxr_keyword">if</strong> (group.isRequired())
 <a class="jxr_linenumber" name="L423" href="#L423">423</a>             {

Modified: websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/PatternOptionBuilder.html
==============================================================================
--- websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/PatternOptionBuilder.html (original)
+++ websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/PatternOptionBuilder.html Thu Jun  8 17:47:18 2017
@@ -60,7 +60,7 @@
 <a class="jxr_linenumber" name="L52" href="#L52">52</a>  <em class="jxr_javadoccomment"> * TODO: These need to break out to OptionType and also to be pluggable.</em>
 <a class="jxr_linenumber" name="L53" href="#L53">53</a>  <em class="jxr_javadoccomment"> * &lt;/p&gt;</em>
 <a class="jxr_linenumber" name="L54" href="#L54">54</a>  <em class="jxr_javadoccomment"> *</em>
-<a class="jxr_linenumber" name="L55" href="#L55">55</a>  <em class="jxr_javadoccomment"> * @version $Id: PatternOptionBuilder.java 1677406 2015-05-03 14:27:31Z britter $</em>
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>  <em class="jxr_javadoccomment"> * @version $Id$</em>
 <a class="jxr_linenumber" name="L56" href="#L56">56</a>  <em class="jxr_javadoccomment"> */</em>
 <a class="jxr_linenumber" name="L57" href="#L57">57</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/commons/cli/PatternOptionBuilder.html">PatternOptionBuilder</a>
 <a class="jxr_linenumber" name="L58" href="#L58">58</a>  {
@@ -101,7 +101,7 @@
 <a class="jxr_linenumber" name="L93" href="#L93">93</a>  <em class="jxr_javadoccomment">     * @param ch the specified character</em>
 <a class="jxr_linenumber" name="L94" href="#L94">94</a>  <em class="jxr_javadoccomment">     * @return The class that &lt;code&gt;ch&lt;/code&gt; represents</em>
 <a class="jxr_linenumber" name="L95" href="#L95">95</a>  <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L96" href="#L96">96</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> Object getValueClass(<strong class="jxr_keyword">char</strong> ch)
+<a class="jxr_linenumber" name="L96" href="#L96">96</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> Object getValueClass(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">char</strong> ch)
 <a class="jxr_linenumber" name="L97" href="#L97">97</a>      {
 <a class="jxr_linenumber" name="L98" href="#L98">98</a>          <strong class="jxr_keyword">switch</strong> (ch)
 <a class="jxr_linenumber" name="L99" href="#L99">99</a>          {
@@ -135,7 +135,7 @@
 <a class="jxr_linenumber" name="L127" href="#L127">127</a> <em class="jxr_javadoccomment">     * @param ch the specified character</em>
 <a class="jxr_linenumber" name="L128" href="#L128">128</a> <em class="jxr_javadoccomment">     * @return true if &lt;code&gt;ch&lt;/code&gt; is a value code, otherwise false.</em>
 <a class="jxr_linenumber" name="L129" href="#L129">129</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L130" href="#L130">130</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">boolean</strong> isValueCode(<strong class="jxr_keyword">char</strong> ch)
+<a class="jxr_linenumber" name="L130" href="#L130">130</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">boolean</strong> isValueCode(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">char</strong> ch)
 <a class="jxr_linenumber" name="L131" href="#L131">131</a>     {
 <a class="jxr_linenumber" name="L132" href="#L132">132</a>         <strong class="jxr_keyword">return</strong> ch == '@'
 <a class="jxr_linenumber" name="L133" href="#L133">133</a>                 || ch == ':'
@@ -155,17 +155,17 @@
 <a class="jxr_linenumber" name="L147" href="#L147">147</a> <em class="jxr_javadoccomment">     * @param pattern the pattern string</em>
 <a class="jxr_linenumber" name="L148" href="#L148">148</a> <em class="jxr_javadoccomment">     * @return The {@link Options} instance</em>
 <a class="jxr_linenumber" name="L149" href="#L149">149</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="L150" href="#L150">150</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> parsePattern(String pattern)
+<a class="jxr_linenumber" name="L150" href="#L150">150</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> parsePattern(<strong class="jxr_keyword">final</strong> String pattern)
 <a class="jxr_linenumber" name="L151" href="#L151">151</a>     {
 <a class="jxr_linenumber" name="L152" href="#L152">152</a>         <strong class="jxr_keyword">char</strong> opt = ' ';
 <a class="jxr_linenumber" name="L153" href="#L153">153</a>         <strong class="jxr_keyword">boolean</strong> required = false;
 <a class="jxr_linenumber" name="L154" href="#L154">154</a>         Class&lt;?&gt; type = <strong class="jxr_keyword">null</strong>;
 <a class="jxr_linenumber" name="L155" href="#L155">155</a> 
-<a class="jxr_linenumber" name="L156" href="#L156">156</a>         <a href="../../../../org/apache/commons/cli/Options.html">Options</a> options = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a>();
+<a class="jxr_linenumber" name="L156" href="#L156">156</a>         <strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a> options = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/commons/cli/Options.html">Options</a>();
 <a class="jxr_linenumber" name="L157" href="#L157">157</a> 
 <a class="jxr_linenumber" name="L158" href="#L158">158</a>         <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i &lt; pattern.length(); i++)
 <a class="jxr_linenumber" name="L159" href="#L159">159</a>         {
-<a class="jxr_linenumber" name="L160" href="#L160">160</a>             <strong class="jxr_keyword">char</strong> ch = pattern.charAt(i);
+<a class="jxr_linenumber" name="L160" href="#L160">160</a>             <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">char</strong> ch = pattern.charAt(i);
 <a class="jxr_linenumber" name="L161" href="#L161">161</a> 
 <a class="jxr_linenumber" name="L162" href="#L162">162</a>             <em class="jxr_comment">// a value code comes after an option and specifies</em>
 <a class="jxr_linenumber" name="L163" href="#L163">163</a>             <em class="jxr_comment">// details about it</em>



Mime
View raw message