Modified: websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/OptionBuilder.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/OptionBuilder.html (original) +++ websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/OptionBuilder.html Thu Jun 8 17:47:18 2017 @@ -33,7 +33,7 @@ <span class="sourceLineNo">025</span> * <p><a name="line.25"></a> <span class="sourceLineNo">026</span> * This class is NOT thread safe. See <a href="https://issues.apache.org/jira/browse/CLI-209">CLI-209</a><a name="line.26"></a> <span class="sourceLineNo">027</span> * <a name="line.27"></a> -<span class="sourceLineNo">028</span> * @version $Id: OptionBuilder.java 1677400 2015-05-03 13:46:08Z britter $<a name="line.28"></a> +<span class="sourceLineNo">028</span> * @version $Id$<a name="line.28"></a> <span class="sourceLineNo">029</span> * @since 1.0<a name="line.29"></a> <span class="sourceLineNo">030</span> * @deprecated since 1.3, use {@link Option#builder(String)} instead<a name="line.30"></a> <span class="sourceLineNo">031</span> */<a name="line.31"></a> @@ -102,7 +102,7 @@ <span class="sourceLineNo">094</span> * @param newLongopt the long option value<a name="line.94"></a> <span class="sourceLineNo">095</span> * @return the OptionBuilder instance<a name="line.95"></a> <span class="sourceLineNo">096</span> */<a name="line.96"></a> -<span class="sourceLineNo">097</span> public static OptionBuilder withLongOpt(String newLongopt)<a name="line.97"></a> +<span class="sourceLineNo">097</span> public static OptionBuilder withLongOpt(final String newLongopt)<a name="line.97"></a> <span class="sourceLineNo">098</span> {<a name="line.98"></a> <span class="sourceLineNo">099</span> OptionBuilder.longopt = newLongopt;<a name="line.99"></a> <span class="sourceLineNo">100</span><a name="line.100"></a> @@ -128,7 +128,7 @@ <span class="sourceLineNo">120</span> * @param hasArg if true then the Option has an argument value<a name="line.120"></a> <span class="sourceLineNo">121</span> * @return the OptionBuilder instance<a name="line.121"></a> <span class="sourceLineNo">122</span> */<a name="line.122"></a> -<span class="sourceLineNo">123</span> public static OptionBuilder hasArg(boolean hasArg)<a name="line.123"></a> +<span class="sourceLineNo">123</span> public static OptionBuilder hasArg(final boolean hasArg)<a name="line.123"></a> <span class="sourceLineNo">124</span> {<a name="line.124"></a> <span class="sourceLineNo">125</span> OptionBuilder.numberOfArgs = hasArg ? 1 : Option.UNINITIALIZED;<a name="line.125"></a> <span class="sourceLineNo">126</span><a name="line.126"></a> @@ -141,7 +141,7 @@ <span class="sourceLineNo">133</span> * @param name the name for the argument value<a name="line.133"></a> <span class="sourceLineNo">134</span> * @return the OptionBuilder instance<a name="line.134"></a> <span class="sourceLineNo">135</span> */<a name="line.135"></a> -<span class="sourceLineNo">136</span> public static OptionBuilder withArgName(String name)<a name="line.136"></a> +<span class="sourceLineNo">136</span> public static OptionBuilder withArgName(final String name)<a name="line.136"></a> <span class="sourceLineNo">137</span> {<a name="line.137"></a> <span class="sourceLineNo">138</span> OptionBuilder.argName = name;<a name="line.138"></a> <span class="sourceLineNo">139</span><a name="line.139"></a> @@ -179,7 +179,7 @@ <span class="sourceLineNo">171</span> *<a name="line.171"></a> <span class="sourceLineNo">172</span> * @return the OptionBuilder instance<a name="line.172"></a> <span class="sourceLineNo">173</span> */<a name="line.173"></a> -<span class="sourceLineNo">174</span> public static OptionBuilder withValueSeparator(char sep)<a name="line.174"></a> +<span class="sourceLineNo">174</span> public static OptionBuilder withValueSeparator(final char sep)<a name="line.174"></a> <span class="sourceLineNo">175</span> {<a name="line.175"></a> <span class="sourceLineNo">176</span> OptionBuilder.valuesep = sep;<a name="line.176"></a> <span class="sourceLineNo">177</span><a name="line.177"></a> @@ -216,7 +216,7 @@ <span class="sourceLineNo">208</span> * @param newRequired if true then the Option is required<a name="line.208"></a> <span class="sourceLineNo">209</span> * @return the OptionBuilder instance<a name="line.209"></a> <span class="sourceLineNo">210</span> */<a name="line.210"></a> -<span class="sourceLineNo">211</span> public static OptionBuilder isRequired(boolean newRequired)<a name="line.211"></a> +<span class="sourceLineNo">211</span> public static OptionBuilder isRequired(final boolean newRequired)<a name="line.211"></a> <span class="sourceLineNo">212</span> {<a name="line.212"></a> <span class="sourceLineNo">213</span> OptionBuilder.required = newRequired;<a name="line.213"></a> <span class="sourceLineNo">214</span><a name="line.214"></a> @@ -241,7 +241,7 @@ <span class="sourceLineNo">233</span> * @param num the number of args that the option can have<a name="line.233"></a> <span class="sourceLineNo">234</span> * @return the OptionBuilder instance<a name="line.234"></a> <span class="sourceLineNo">235</span> */<a name="line.235"></a> -<span class="sourceLineNo">236</span> public static OptionBuilder hasArgs(int num)<a name="line.236"></a> +<span class="sourceLineNo">236</span> public static OptionBuilder hasArgs(final int num)<a name="line.236"></a> <span class="sourceLineNo">237</span> {<a name="line.237"></a> <span class="sourceLineNo">238</span> OptionBuilder.numberOfArgs = num;<a name="line.238"></a> <span class="sourceLineNo">239</span><a name="line.239"></a> @@ -281,7 +281,7 @@ <span class="sourceLineNo">273</span> * the next Option created can have.<a name="line.273"></a> <span class="sourceLineNo">274</span> * @return the OptionBuilder instance<a name="line.274"></a> <span class="sourceLineNo">275</span> */<a name="line.275"></a> -<span class="sourceLineNo">276</span> public static OptionBuilder hasOptionalArgs(int numArgs)<a name="line.276"></a> +<span class="sourceLineNo">276</span> public static OptionBuilder hasOptionalArgs(final int numArgs)<a name="line.276"></a> <span class="sourceLineNo">277</span> {<a name="line.277"></a> <span class="sourceLineNo">278</span> OptionBuilder.numberOfArgs = numArgs;<a name="line.278"></a> <span class="sourceLineNo">279</span> OptionBuilder.optionalArg = true;<a name="line.279"></a> @@ -301,7 +301,7 @@ <span class="sourceLineNo">293</span> * @deprecated since 1.3, use {@link #withType(Class)} instead<a name="line.293"></a> <span class="sourceLineNo">294</span> */<a name="line.294"></a> <span class="sourceLineNo">295</span> @Deprecated<a name="line.295"></a> -<span class="sourceLineNo">296</span> public static OptionBuilder withType(Object newType)<a name="line.296"></a> +<span class="sourceLineNo">296</span> public static OptionBuilder withType(final Object newType)<a name="line.296"></a> <span class="sourceLineNo">297</span> {<a name="line.297"></a> <span class="sourceLineNo">298</span> return withType((Class<?>) newType);<a name="line.298"></a> <span class="sourceLineNo">299</span> }<a name="line.299"></a> @@ -314,7 +314,7 @@ <span class="sourceLineNo">306</span> * @return the OptionBuilder instance<a name="line.306"></a> <span class="sourceLineNo">307</span> * @since 1.3<a name="line.307"></a> <span class="sourceLineNo">308</span> */<a name="line.308"></a> -<span class="sourceLineNo">309</span> public static OptionBuilder withType(Class<?> newType)<a name="line.309"></a> +<span class="sourceLineNo">309</span> public static OptionBuilder withType(final Class<?> newType)<a name="line.309"></a> <span class="sourceLineNo">310</span> {<a name="line.310"></a> <span class="sourceLineNo">311</span> OptionBuilder.type = newType;<a name="line.311"></a> <span class="sourceLineNo">312</span><a name="line.312"></a> @@ -327,7 +327,7 @@ <span class="sourceLineNo">319</span> * @param newDescription a description of the Option's purpose<a name="line.319"></a> <span class="sourceLineNo">320</span> * @return the OptionBuilder instance<a name="line.320"></a> <span class="sourceLineNo">321</span> */<a name="line.321"></a> -<span class="sourceLineNo">322</span> public static OptionBuilder withDescription(String newDescription)<a name="line.322"></a> +<span class="sourceLineNo">322</span> public static OptionBuilder withDescription(final String newDescription)<a name="line.322"></a> <span class="sourceLineNo">323</span> {<a name="line.323"></a> <span class="sourceLineNo">324</span> OptionBuilder.description = newDescription;<a name="line.324"></a> <span class="sourceLineNo">325</span><a name="line.325"></a> @@ -343,7 +343,7 @@ <span class="sourceLineNo">335</span> * @throws IllegalArgumentException if <code>opt</code> is not<a name="line.335"></a> <span class="sourceLineNo">336</span> * a valid character. See Option.<a name="line.336"></a> <span class="sourceLineNo">337</span> */<a name="line.337"></a> -<span class="sourceLineNo">338</span> public static Option create(char opt) throws IllegalArgumentException<a name="line.338"></a> +<span class="sourceLineNo">338</span> public static Option create(final char opt) throws IllegalArgumentException<a name="line.338"></a> <span class="sourceLineNo">339</span> {<a name="line.339"></a> <span class="sourceLineNo">340</span> return create(String.valueOf(opt));<a name="line.340"></a> <span class="sourceLineNo">341</span> }<a name="line.341"></a> @@ -375,7 +375,7 @@ <span class="sourceLineNo">367</span> * @throws IllegalArgumentException if <code>opt</code> is not<a name="line.367"></a> <span class="sourceLineNo">368</span> * a valid character. See Option.<a name="line.368"></a> <span class="sourceLineNo">369</span> */<a name="line.369"></a> -<span class="sourceLineNo">370</span> public static Option create(String opt) throws IllegalArgumentException<a name="line.370"></a> +<span class="sourceLineNo">370</span> public static Option create(final String opt) throws IllegalArgumentException<a name="line.370"></a> <span class="sourceLineNo">371</span> {<a name="line.371"></a> <span class="sourceLineNo">372</span> Option option = null;<a name="line.372"></a> <span class="sourceLineNo">373</span> try<a name="line.373"></a>
Modified: websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/OptionGroup.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/OptionGroup.html (original) +++ websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/OptionGroup.html Thu Jun 8 17:47:18 2017 @@ -34,7 +34,7 @@ <span class="sourceLineNo">026</span>/**<a name="line.26"></a> <span class="sourceLineNo">027</span> * A group of mutually exclusive options.<a name="line.27"></a> <span class="sourceLineNo">028</span> *<a name="line.28"></a> -<span class="sourceLineNo">029</span> * @version $Id: OptionGroup.java 1749596 2016-06-21 20:27:06Z britter $<a name="line.29"></a> +<span class="sourceLineNo">029</span> * @version $Id$<a name="line.29"></a> <span class="sourceLineNo">030</span> */<a name="line.30"></a> <span class="sourceLineNo">031</span>public class OptionGroup implements Serializable<a name="line.31"></a> <span class="sourceLineNo">032</span>{<a name="line.32"></a> @@ -56,7 +56,7 @@ <span class="sourceLineNo">048</span> * @param option the option to add to this group<a name="line.48"></a> <span class="sourceLineNo">049</span> * @return this option group with the option added<a name="line.49"></a> <span class="sourceLineNo">050</span> */<a name="line.50"></a> -<span class="sourceLineNo">051</span> public OptionGroup addOption(Option option)<a name="line.51"></a> +<span class="sourceLineNo">051</span> public OptionGroup addOption(final Option option)<a name="line.51"></a> <span class="sourceLineNo">052</span> {<a name="line.52"></a> <span class="sourceLineNo">053</span> // key - option name<a name="line.53"></a> <span class="sourceLineNo">054</span> // value - the option<a name="line.54"></a> @@ -91,7 +91,7 @@ <span class="sourceLineNo">083</span> * @throws AlreadySelectedException if an option from this group has <a name="line.83"></a> <span class="sourceLineNo">084</span> * already been selected.<a name="line.84"></a> <span class="sourceLineNo">085</span> */<a name="line.85"></a> -<span class="sourceLineNo">086</span> public void setSelected(Option option) throws AlreadySelectedException<a name="line.86"></a> +<span class="sourceLineNo">086</span> public void setSelected(final Option option) throws AlreadySelectedException<a name="line.86"></a> <span class="sourceLineNo">087</span> {<a name="line.87"></a> <span class="sourceLineNo">088</span> if (option == null)<a name="line.88"></a> <span class="sourceLineNo">089</span> {<a name="line.89"></a> @@ -124,7 +124,7 @@ <span class="sourceLineNo">116</span> /**<a name="line.116"></a> <span class="sourceLineNo">117</span> * @param required specifies if this group is required<a name="line.117"></a> <span class="sourceLineNo">118</span> */<a name="line.118"></a> -<span class="sourceLineNo">119</span> public void setRequired(boolean required)<a name="line.119"></a> +<span class="sourceLineNo">119</span> public void setRequired(final boolean required)<a name="line.119"></a> <span class="sourceLineNo">120</span> {<a name="line.120"></a> <span class="sourceLineNo">121</span> this.required = required;<a name="line.121"></a> <span class="sourceLineNo">122</span> }<a name="line.122"></a> @@ -147,15 +147,15 @@ <span class="sourceLineNo">139</span> @Override<a name="line.139"></a> <span class="sourceLineNo">140</span> public String toString()<a name="line.140"></a> <span class="sourceLineNo">141</span> {<a name="line.141"></a> -<span class="sourceLineNo">142</span> StringBuilder buff = new StringBuilder();<a name="line.142"></a> +<span class="sourceLineNo">142</span> final StringBuilder buff = new StringBuilder();<a name="line.142"></a> <span class="sourceLineNo">143</span> <a name="line.143"></a> -<span class="sourceLineNo">144</span> Iterator<Option> iter = getOptions().iterator();<a name="line.144"></a> +<span class="sourceLineNo">144</span> final Iterator<Option> iter = getOptions().iterator();<a name="line.144"></a> <span class="sourceLineNo">145</span><a name="line.145"></a> <span class="sourceLineNo">146</span> buff.append("[");<a name="line.146"></a> <span class="sourceLineNo">147</span><a name="line.147"></a> <span class="sourceLineNo">148</span> while (iter.hasNext())<a name="line.148"></a> <span class="sourceLineNo">149</span> {<a name="line.149"></a> -<span class="sourceLineNo">150</span> Option option = iter.next();<a name="line.150"></a> +<span class="sourceLineNo">150</span> final Option option = iter.next();<a name="line.150"></a> <span class="sourceLineNo">151</span><a name="line.151"></a> <span class="sourceLineNo">152</span> if (option.getOpt() != null)<a name="line.152"></a> <span class="sourceLineNo">153</span> {<a name="line.153"></a> Modified: websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/Options.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/Options.html (original) +++ websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/Options.html Thu Jun 8 17:47:18 2017 @@ -46,7 +46,7 @@ <span class="sourceLineNo">038</span> *<a name="line.38"></a> <span class="sourceLineNo">039</span> * @see org.apache.commons.cli.CommandLine<a name="line.39"></a> <span class="sourceLineNo">040</span> *<a name="line.40"></a> -<span class="sourceLineNo">041</span> * @version $Id: Options.java 1754332 2016-07-27 18:47:57Z britter $<a name="line.41"></a> +<span class="sourceLineNo">041</span> * @version $Id$<a name="line.41"></a> <span class="sourceLineNo">042</span> */<a name="line.42"></a> <span class="sourceLineNo">043</span>public class Options implements Serializable<a name="line.43"></a> <span class="sourceLineNo">044</span>{<a name="line.44"></a> @@ -73,14 +73,14 @@ <span class="sourceLineNo">065</span> * @param group the OptionGroup that is to be added<a name="line.65"></a> <span class="sourceLineNo">066</span> * @return the resulting Options instance<a name="line.66"></a> <span class="sourceLineNo">067</span> */<a name="line.67"></a> -<span class="sourceLineNo">068</span> public Options addOptionGroup(OptionGroup group)<a name="line.68"></a> +<span class="sourceLineNo">068</span> public Options addOptionGroup(final OptionGroup group)<a name="line.68"></a> <span class="sourceLineNo">069</span> {<a name="line.69"></a> <span class="sourceLineNo">070</span> if (group.isRequired())<a name="line.70"></a> <span class="sourceLineNo">071</span> {<a name="line.71"></a> <span class="sourceLineNo">072</span> requiredOpts.add(group);<a name="line.72"></a> <span class="sourceLineNo">073</span> }<a name="line.73"></a> <span class="sourceLineNo">074</span><a name="line.74"></a> -<span class="sourceLineNo">075</span> for (Option option : group.getOptions())<a name="line.75"></a> +<span class="sourceLineNo">075</span> for (final Option option : group.getOptions())<a name="line.75"></a> <span class="sourceLineNo">076</span> {<a name="line.76"></a> <span class="sourceLineNo">077</span> // an Option cannot be required if it is in an<a name="line.77"></a> <span class="sourceLineNo">078</span> // OptionGroup, either the group is required or<a name="line.78"></a> @@ -116,7 +116,7 @@ <span class="sourceLineNo">108</span> * @return the resulting Options instance<a name="line.108"></a> <span class="sourceLineNo">109</span> * @since 1.3<a name="line.109"></a> <span class="sourceLineNo">110</span> */<a name="line.110"></a> -<span class="sourceLineNo">111</span> public Options addOption(String opt, String description)<a name="line.111"></a> +<span class="sourceLineNo">111</span> public Options addOption(final String opt, final String description)<a name="line.111"></a> <span class="sourceLineNo">112</span> {<a name="line.112"></a> <span class="sourceLineNo">113</span> addOption(opt, null, false, description);<a name="line.113"></a> <span class="sourceLineNo">114</span> return this;<a name="line.114"></a> @@ -134,7 +134,7 @@ <span class="sourceLineNo">126</span> * @param description Self-documenting description<a name="line.126"></a> <span class="sourceLineNo">127</span> * @return the resulting Options instance<a name="line.127"></a> <span class="sourceLineNo">128</span> */<a name="line.128"></a> -<span class="sourceLineNo">129</span> public Options addOption(String opt, boolean hasArg, String description)<a name="line.129"></a> +<span class="sourceLineNo">129</span> public Options addOption(final String opt, final boolean hasArg, final String description)<a name="line.129"></a> <span class="sourceLineNo">130</span> {<a name="line.130"></a> <span class="sourceLineNo">131</span> addOption(opt, null, hasArg, description);<a name="line.131"></a> <span class="sourceLineNo">132</span> return this;<a name="line.132"></a> @@ -153,7 +153,7 @@ <span class="sourceLineNo">145</span> * @param description Self-documenting description<a name="line.145"></a> <span class="sourceLineNo">146</span> * @return the resulting Options instance<a name="line.146"></a> <span class="sourceLineNo">147</span> */<a name="line.147"></a> -<span class="sourceLineNo">148</span> public Options addOption(String opt, String longOpt, boolean hasArg, String description)<a name="line.148"></a> +<span class="sourceLineNo">148</span> public Options addOption(final String opt, final String longOpt, final boolean hasArg, final String description)<a name="line.148"></a> <span class="sourceLineNo">149</span> {<a name="line.149"></a> <span class="sourceLineNo">150</span> addOption(new Option(opt, longOpt, hasArg, description));<a name="line.150"></a> <span class="sourceLineNo">151</span> return this;<a name="line.151"></a> @@ -181,9 +181,9 @@ <span class="sourceLineNo">173</span> * @return the resulting Options instance<a name="line.173"></a> <span class="sourceLineNo">174</span> * @since 1.4<a name="line.174"></a> <span class="sourceLineNo">175</span> */<a name="line.175"></a> -<span class="sourceLineNo">176</span> public Options addRequiredOption(String opt, String longOpt, boolean hasArg, String description)<a name="line.176"></a> +<span class="sourceLineNo">176</span> public Options addRequiredOption(final String opt, final String longOpt, final boolean hasArg, final String description)<a name="line.176"></a> <span class="sourceLineNo">177</span> {<a name="line.177"></a> -<span class="sourceLineNo">178</span> Option option = new Option(opt, longOpt, hasArg, description);<a name="line.178"></a> +<span class="sourceLineNo">178</span> final Option option = new Option(opt, longOpt, hasArg, description);<a name="line.178"></a> <span class="sourceLineNo">179</span> option.setRequired(true);<a name="line.179"></a> <span class="sourceLineNo">180</span> addOption(option);<a name="line.180"></a> <span class="sourceLineNo">181</span> return this;<a name="line.181"></a> @@ -195,9 +195,9 @@ <span class="sourceLineNo">187</span> * @param opt the option that is to be added<a name="line.187"></a> <span class="sourceLineNo">188</span> * @return the resulting Options instance<a name="line.188"></a> <span class="sourceLineNo">189</span> */<a name="line.189"></a> -<span class="sourceLineNo">190</span> public Options addOption(Option opt)<a name="line.190"></a> +<span class="sourceLineNo">190</span> public Options addOption(final Option opt)<a name="line.190"></a> <span class="sourceLineNo">191</span> {<a name="line.191"></a> -<span class="sourceLineNo">192</span> String key = opt.getKey();<a name="line.192"></a> +<span class="sourceLineNo">192</span> final String key = opt.getKey();<a name="line.192"></a> <span class="sourceLineNo">193</span><a name="line.193"></a> <span class="sourceLineNo">194</span> // add it to the long option list<a name="line.194"></a> <span class="sourceLineNo">195</span> if (opt.hasLongOpt())<a name="line.195"></a> @@ -283,7 +283,7 @@ <span class="sourceLineNo">275</span> {<a name="line.275"></a> <span class="sourceLineNo">276</span> opt = Util.stripLeadingHyphens(opt);<a name="line.276"></a> <span class="sourceLineNo">277</span> <a name="line.277"></a> -<span class="sourceLineNo">278</span> List<String> matchingOpts = new ArrayList<String>();<a name="line.278"></a> +<span class="sourceLineNo">278</span> final List<String> matchingOpts = new ArrayList<String>();<a name="line.278"></a> <span class="sourceLineNo">279</span><a name="line.279"></a> <span class="sourceLineNo">280</span> // for a perfect match return the single option only<a name="line.280"></a> <span class="sourceLineNo">281</span> if (longOpts.keySet().contains(opt))<a name="line.281"></a> @@ -291,7 +291,7 @@ <span class="sourceLineNo">283</span> return Collections.singletonList(opt);<a name="line.283"></a> <span class="sourceLineNo">284</span> }<a name="line.284"></a> <span class="sourceLineNo">285</span><a name="line.285"></a> -<span class="sourceLineNo">286</span> for (String longOpt : longOpts.keySet())<a name="line.286"></a> +<span class="sourceLineNo">286</span> for (final String longOpt : longOpts.keySet())<a name="line.286"></a> <span class="sourceLineNo">287</span> {<a name="line.287"></a> <span class="sourceLineNo">288</span> if (longOpt.startsWith(opt))<a name="line.288"></a> <span class="sourceLineNo">289</span> {<a name="line.289"></a> @@ -349,7 +349,7 @@ <span class="sourceLineNo">341</span> * @param opt the option whose OptionGroup is being queried.<a name="line.341"></a> <span class="sourceLineNo">342</span> * @return the OptionGroup if <code>opt</code> is part of an OptionGroup, otherwise return null<a name="line.342"></a> <span class="sourceLineNo">343</span> */<a name="line.343"></a> -<span class="sourceLineNo">344</span> public OptionGroup getOptionGroup(Option opt)<a name="line.344"></a> +<span class="sourceLineNo">344</span> public OptionGroup getOptionGroup(final Option opt)<a name="line.344"></a> <span class="sourceLineNo">345</span> {<a name="line.345"></a> <span class="sourceLineNo">346</span> return optionGroups.get(opt.getKey());<a name="line.346"></a> <span class="sourceLineNo">347</span> }<a name="line.347"></a> @@ -362,7 +362,7 @@ <span class="sourceLineNo">354</span> @Override<a name="line.354"></a> <span class="sourceLineNo">355</span> public String toString()<a name="line.355"></a> <span class="sourceLineNo">356</span> {<a name="line.356"></a> -<span class="sourceLineNo">357</span> StringBuilder buf = new StringBuilder();<a name="line.357"></a> +<span class="sourceLineNo">357</span> final StringBuilder buf = new StringBuilder();<a name="line.357"></a> <span class="sourceLineNo">358</span><a name="line.358"></a> <span class="sourceLineNo">359</span> buf.append("[ Options: [ short ");<a name="line.359"></a> <span class="sourceLineNo">360</span> buf.append(shortOpts.toString());<a name="line.360"></a> Modified: websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/ParseException.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/ParseException.html (original) +++ websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/ParseException.html Thu Jun 8 17:47:18 2017 @@ -28,7 +28,7 @@ <span class="sourceLineNo">020</span>/**<a name="line.20"></a> <span class="sourceLineNo">021</span> * Base for Exceptions thrown during parsing of a command-line.<a name="line.21"></a> <span class="sourceLineNo">022</span> *<a name="line.22"></a> -<span class="sourceLineNo">023</span> * @version $Id: ParseException.java 1443102 2013-02-06 18:12:16Z tn $<a name="line.23"></a> +<span class="sourceLineNo">023</span> * @version $Id$<a name="line.23"></a> <span class="sourceLineNo">024</span> */<a name="line.24"></a> <span class="sourceLineNo">025</span>public class ParseException extends Exception<a name="line.25"></a> <span class="sourceLineNo">026</span>{<a name="line.26"></a> @@ -43,7 +43,7 @@ <span class="sourceLineNo">035</span> *<a name="line.35"></a> <span class="sourceLineNo">036</span> * @param message the detail message<a name="line.36"></a> <span class="sourceLineNo">037</span> */<a name="line.37"></a> -<span class="sourceLineNo">038</span> public ParseException(String message)<a name="line.38"></a> +<span class="sourceLineNo">038</span> public ParseException(final String message)<a name="line.38"></a> <span class="sourceLineNo">039</span> {<a name="line.39"></a> <span class="sourceLineNo">040</span> super(message);<a name="line.40"></a> <span class="sourceLineNo">041</span> }<a name="line.41"></a> Modified: websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/Parser.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/Parser.html (original) +++ websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/Parser.html Thu Jun 8 17:47:18 2017 @@ -35,7 +35,7 @@ <span class="sourceLineNo">027</span>/**<a name="line.27"></a> <span class="sourceLineNo">028</span> * <code>Parser</code> creates {@link CommandLine}s.<a name="line.28"></a> <span class="sourceLineNo">029</span> *<a name="line.29"></a> -<span class="sourceLineNo">030</span> * @version $Id: Parser.java 1744812 2016-05-20 23:36:20Z ggregory $<a name="line.30"></a> +<span class="sourceLineNo">030</span> * @version $Id$<a name="line.30"></a> <span class="sourceLineNo">031</span> * @deprecated since 1.3, the two-pass parsing with the flatten method is not enough flexible to handle complex cases<a name="line.31"></a> <span class="sourceLineNo">032</span> */<a name="line.32"></a> <span class="sourceLineNo">033</span>@Deprecated<a name="line.33"></a> @@ -50,7 +50,7 @@ <span class="sourceLineNo">042</span> /** list of required options strings */<a name="line.42"></a> <span class="sourceLineNo">043</span> private List requiredOptions;<a name="line.43"></a> <span class="sourceLineNo">044</span><a name="line.44"></a> -<span class="sourceLineNo">045</span> protected void setOptions(Options options)<a name="line.45"></a> +<span class="sourceLineNo">045</span> protected void setOptions(final Options options)<a name="line.45"></a> <span class="sourceLineNo">046</span> {<a name="line.46"></a> <span class="sourceLineNo">047</span> this.options = options;<a name="line.47"></a> <span class="sourceLineNo">048</span> this.requiredOptions = new ArrayList(options.getRequiredOptions());<a name="line.48"></a> @@ -91,7 +91,7 @@ <span class="sourceLineNo">083</span> * @throws ParseException if there are any problems encountered<a name="line.83"></a> <span class="sourceLineNo">084</span> * while parsing the command line tokens.<a name="line.84"></a> <span class="sourceLineNo">085</span> */<a name="line.85"></a> -<span class="sourceLineNo">086</span> public CommandLine parse(Options options, String[] arguments) throws ParseException<a name="line.86"></a> +<span class="sourceLineNo">086</span> public CommandLine parse(final Options options, final String[] arguments) throws ParseException<a name="line.86"></a> <span class="sourceLineNo">087</span> {<a name="line.87"></a> <span class="sourceLineNo">088</span> return parse(options, arguments, null, false);<a name="line.88"></a> <span class="sourceLineNo">089</span> }<a name="line.89"></a> @@ -108,7 +108,7 @@ <span class="sourceLineNo">100</span> *<a name="line.100"></a> <span class="sourceLineNo">101</span> * @since 1.1<a name="line.101"></a> <span class="sourceLineNo">102</span> */<a name="line.102"></a> -<span class="sourceLineNo">103</span> public CommandLine parse(Options options, String[] arguments, Properties properties) throws ParseException<a name="line.103"></a> +<span class="sourceLineNo">103</span> public CommandLine parse(final Options options, final String[] arguments, final Properties properties) throws ParseException<a name="line.103"></a> <span class="sourceLineNo">104</span> {<a name="line.104"></a> <span class="sourceLineNo">105</span> return parse(options, arguments, properties, false);<a name="line.105"></a> <span class="sourceLineNo">106</span> }<a name="line.106"></a> @@ -126,7 +126,7 @@ <span class="sourceLineNo">118</span> * @return the <code>CommandLine</code><a name="line.118"></a> <span class="sourceLineNo">119</span> * @throws ParseException if an error occurs when parsing the arguments.<a name="line.119"></a> <span class="sourceLineNo">120</span> */<a name="line.120"></a> -<span class="sourceLineNo">121</span> public CommandLine parse(Options options, String[] arguments, boolean stopAtNonOption) throws ParseException<a name="line.121"></a> +<span class="sourceLineNo">121</span> public CommandLine parse(final Options options, final String[] arguments, final boolean stopAtNonOption) throws ParseException<a name="line.121"></a> <span class="sourceLineNo">122</span> {<a name="line.122"></a> <span class="sourceLineNo">123</span> return parse(options, arguments, null, stopAtNonOption);<a name="line.123"></a> <span class="sourceLineNo">124</span> }<a name="line.124"></a> @@ -150,17 +150,17 @@ <span class="sourceLineNo">142</span> *<a name="line.142"></a> <span class="sourceLineNo">143</span> * @since 1.1<a name="line.143"></a> <span class="sourceLineNo">144</span> */<a name="line.144"></a> -<span class="sourceLineNo">145</span> public CommandLine parse(Options options, String[] arguments, Properties properties, boolean stopAtNonOption)<a name="line.145"></a> +<span class="sourceLineNo">145</span> public CommandLine parse(final Options options, String[] arguments, final Properties properties, final boolean stopAtNonOption)<a name="line.145"></a> <span class="sourceLineNo">146</span> throws ParseException<a name="line.146"></a> <span class="sourceLineNo">147</span> {<a name="line.147"></a> <span class="sourceLineNo">148</span> // clear out the data in options in case it's been used before (CLI-71)<a name="line.148"></a> -<span class="sourceLineNo">149</span> for (Option opt : options.helpOptions())<a name="line.149"></a> +<span class="sourceLineNo">149</span> for (final Option opt : options.helpOptions())<a name="line.149"></a> <span class="sourceLineNo">150</span> {<a name="line.150"></a> <span class="sourceLineNo">151</span> opt.clearValues();<a name="line.151"></a> <span class="sourceLineNo">152</span> }<a name="line.152"></a> <span class="sourceLineNo">153</span> <a name="line.153"></a> <span class="sourceLineNo">154</span> // clear the data from the groups<a name="line.154"></a> -<span class="sourceLineNo">155</span> for (OptionGroup group : options.getOptionGroups())<a name="line.155"></a> +<span class="sourceLineNo">155</span> for (final OptionGroup group : options.getOptionGroups())<a name="line.155"></a> <span class="sourceLineNo">156</span> {<a name="line.156"></a> <span class="sourceLineNo">157</span> group.setSelected(null);<a name="line.157"></a> <span class="sourceLineNo">158</span> } <a name="line.158"></a> @@ -177,14 +177,14 @@ <span class="sourceLineNo">169</span> arguments = new String[0];<a name="line.169"></a> <span class="sourceLineNo">170</span> }<a name="line.170"></a> <span class="sourceLineNo">171</span><a name="line.171"></a> -<span class="sourceLineNo">172</span> List<String> tokenList = Arrays.asList(flatten(getOptions(), arguments, stopAtNonOption));<a name="line.172"></a> +<span class="sourceLineNo">172</span> final List<String> tokenList = Arrays.asList(flatten(getOptions(), arguments, stopAtNonOption));<a name="line.172"></a> <span class="sourceLineNo">173</span><a name="line.173"></a> -<span class="sourceLineNo">174</span> ListIterator<String> iterator = tokenList.listIterator();<a name="line.174"></a> +<span class="sourceLineNo">174</span> final ListIterator<String> iterator = tokenList.listIterator();<a name="line.174"></a> <span class="sourceLineNo">175</span><a name="line.175"></a> <span class="sourceLineNo">176</span> // process each flattened token<a name="line.176"></a> <span class="sourceLineNo">177</span> while (iterator.hasNext())<a name="line.177"></a> <span class="sourceLineNo">178</span> {<a name="line.178"></a> -<span class="sourceLineNo">179</span> String t = iterator.next();<a name="line.179"></a> +<span class="sourceLineNo">179</span> final String t = iterator.next();<a name="line.179"></a> <span class="sourceLineNo">180</span><a name="line.180"></a> <span class="sourceLineNo">181</span> // the value is the double-dash<a name="line.181"></a> <span class="sourceLineNo">182</span> if ("--".equals(t))<a name="line.182"></a> @@ -235,7 +235,7 @@ <span class="sourceLineNo">227</span> {<a name="line.227"></a> <span class="sourceLineNo">228</span> while (iterator.hasNext())<a name="line.228"></a> <span class="sourceLineNo">229</span> {<a name="line.229"></a> -<span class="sourceLineNo">230</span> String str = iterator.next();<a name="line.230"></a> +<span class="sourceLineNo">230</span> final String str = iterator.next();<a name="line.230"></a> <span class="sourceLineNo">231</span><a name="line.231"></a> <span class="sourceLineNo">232</span> // ensure only one double-dash is added<a name="line.232"></a> <span class="sourceLineNo">233</span> if (!"--".equals(str))<a name="line.233"></a> @@ -259,31 +259,31 @@ <span class="sourceLineNo">251</span> * @throws ParseException if there are any problems encountered<a name="line.251"></a> <span class="sourceLineNo">252</span> * while processing the properties.<a name="line.252"></a> <span class="sourceLineNo">253</span> */<a name="line.253"></a> -<span class="sourceLineNo">254</span> protected void processProperties(Properties properties) throws ParseException<a name="line.254"></a> +<span class="sourceLineNo">254</span> protected void processProperties(final Properties properties) throws ParseException<a name="line.254"></a> <span class="sourceLineNo">255</span> {<a name="line.255"></a> <span class="sourceLineNo">256</span> if (properties == null)<a name="line.256"></a> <span class="sourceLineNo">257</span> {<a name="line.257"></a> <span class="sourceLineNo">258</span> return;<a name="line.258"></a> <span class="sourceLineNo">259</span> }<a name="line.259"></a> <span class="sourceLineNo">260</span><a name="line.260"></a> -<span class="sourceLineNo">261</span> for (Enumeration<?> e = properties.propertyNames(); e.hasMoreElements();)<a name="line.261"></a> +<span class="sourceLineNo">261</span> for (final Enumeration<?> e = properties.propertyNames(); e.hasMoreElements();)<a name="line.261"></a> <span class="sourceLineNo">262</span> {<a name="line.262"></a> -<span class="sourceLineNo">263</span> String option = e.nextElement().toString();<a name="line.263"></a> +<span class="sourceLineNo">263</span> final String option = e.nextElement().toString();<a name="line.263"></a> <span class="sourceLineNo">264</span> <a name="line.264"></a> -<span class="sourceLineNo">265</span> Option opt = options.getOption(option);<a name="line.265"></a> +<span class="sourceLineNo">265</span> final Option opt = options.getOption(option);<a name="line.265"></a> <span class="sourceLineNo">266</span> if (opt == null)<a name="line.266"></a> <span class="sourceLineNo">267</span> {<a name="line.267"></a> <span class="sourceLineNo">268</span> throw new UnrecognizedOptionException("Default option wasn't defined", option);<a name="line.268"></a> <span class="sourceLineNo">269</span> }<a name="line.269"></a> <span class="sourceLineNo">270</span> <a name="line.270"></a> <span class="sourceLineNo">271</span> // if the option is part of a group, check if another option of the group has been selected<a name="line.271"></a> -<span class="sourceLineNo">272</span> OptionGroup group = options.getOptionGroup(opt);<a name="line.272"></a> -<span class="sourceLineNo">273</span> boolean selected = group != null && group.getSelected() != null;<a name="line.273"></a> +<span class="sourceLineNo">272</span> final OptionGroup group = options.getOptionGroup(opt);<a name="line.272"></a> +<span class="sourceLineNo">273</span> final boolean selected = group != null && group.getSelected() != null;<a name="line.273"></a> <span class="sourceLineNo">274</span> <a name="line.274"></a> <span class="sourceLineNo">275</span> if (!cmd.hasOption(option) && !selected)<a name="line.275"></a> <span class="sourceLineNo">276</span> {<a name="line.276"></a> <span class="sourceLineNo">277</span> // get the value from the properties instance<a name="line.277"></a> -<span class="sourceLineNo">278</span> String value = properties.getProperty(option);<a name="line.278"></a> +<span class="sourceLineNo">278</span> final String value = properties.getProperty(option);<a name="line.278"></a> <span class="sourceLineNo">279</span><a name="line.279"></a> <span class="sourceLineNo">280</span> if (opt.hasArg())<a name="line.280"></a> <span class="sourceLineNo">281</span> {<a name="line.281"></a> @@ -293,7 +293,7 @@ <span class="sourceLineNo">285</span> {<a name="line.285"></a> <span class="sourceLineNo">286</span> opt.addValueForProcessing(value);<a name="line.286"></a> <span class="sourceLineNo">287</span> }<a name="line.287"></a> -<span class="sourceLineNo">288</span> catch (RuntimeException exp) //NOPMD<a name="line.288"></a> +<span class="sourceLineNo">288</span> catch (final RuntimeException exp) //NOPMD<a name="line.288"></a> <span class="sourceLineNo">289</span> {<a name="line.289"></a> <span class="sourceLineNo">290</span> // if we cannot add the value don't worry about it<a name="line.290"></a> <span class="sourceLineNo">291</span> }<a name="line.291"></a> @@ -340,12 +340,12 @@ <span class="sourceLineNo">332</span> * @throws ParseException if an argument value is required<a name="line.332"></a> <span class="sourceLineNo">333</span> * and it is has not been found.<a name="line.333"></a> <span class="sourceLineNo">334</span> */<a name="line.334"></a> -<span class="sourceLineNo">335</span> public void processArgs(Option opt, ListIterator<String> iter) throws ParseException<a name="line.335"></a> +<span class="sourceLineNo">335</span> public void processArgs(final Option opt, final ListIterator<String> iter) throws ParseException<a name="line.335"></a> <span class="sourceLineNo">336</span> {<a name="line.336"></a> <span class="sourceLineNo">337</span> // loop until an option is found<a name="line.337"></a> <span class="sourceLineNo">338</span> while (iter.hasNext())<a name="line.338"></a> <span class="sourceLineNo">339</span> {<a name="line.339"></a> -<span class="sourceLineNo">340</span> String str = iter.next();<a name="line.340"></a> +<span class="sourceLineNo">340</span> final String str = iter.next();<a name="line.340"></a> <span class="sourceLineNo">341</span> <a name="line.341"></a> <span class="sourceLineNo">342</span> // found an Option, not an argument<a name="line.342"></a> <span class="sourceLineNo">343</span> if (getOptions().hasOption(str) && str.startsWith("-"))<a name="line.343"></a> @@ -359,7 +359,7 @@ <span class="sourceLineNo">351</span> {<a name="line.351"></a> <span class="sourceLineNo">352</span> opt.addValueForProcessing(Util.stripLeadingAndTrailingQuotes(str));<a name="line.352"></a> <span class="sourceLineNo">353</span> }<a name="line.353"></a> -<span class="sourceLineNo">354</span> catch (RuntimeException exp)<a name="line.354"></a> +<span class="sourceLineNo">354</span> catch (final RuntimeException exp)<a name="line.354"></a> <span class="sourceLineNo">355</span> {<a name="line.355"></a> <span class="sourceLineNo">356</span> iter.previous();<a name="line.356"></a> <span class="sourceLineNo">357</span> break;<a name="line.357"></a> @@ -381,9 +381,9 @@ <span class="sourceLineNo">373</span> *<a name="line.373"></a> <span class="sourceLineNo">374</span> * @throws ParseException if <code>arg</code> does not represent an Option<a name="line.374"></a> <span class="sourceLineNo">375</span> */<a name="line.375"></a> -<span class="sourceLineNo">376</span> protected void processOption(String arg, ListIterator<String> iter) throws ParseException<a name="line.376"></a> +<span class="sourceLineNo">376</span> protected void processOption(final String arg, final ListIterator<String> iter) throws ParseException<a name="line.376"></a> <span class="sourceLineNo">377</span> {<a name="line.377"></a> -<span class="sourceLineNo">378</span> boolean hasOption = getOptions().hasOption(arg);<a name="line.378"></a> +<span class="sourceLineNo">378</span> final boolean hasOption = getOptions().hasOption(arg);<a name="line.378"></a> <span class="sourceLineNo">379</span><a name="line.379"></a> <span class="sourceLineNo">380</span> // if there is no option throw an UnrecognizedOptionException<a name="line.380"></a> <span class="sourceLineNo">381</span> if (!hasOption)<a name="line.381"></a> @@ -392,7 +392,7 @@ <span class="sourceLineNo">384</span> }<a name="line.384"></a> <span class="sourceLineNo">385</span><a name="line.385"></a> <span class="sourceLineNo">386</span> // get the option represented by arg<a name="line.386"></a> -<span class="sourceLineNo">387</span> Option opt = (Option) getOptions().getOption(arg).clone();<a name="line.387"></a> +<span class="sourceLineNo">387</span> final Option opt = (Option) getOptions().getOption(arg).clone();<a name="line.387"></a> <span class="sourceLineNo">388</span> <a name="line.388"></a> <span class="sourceLineNo">389</span> // update the required options and groups<a name="line.389"></a> <span class="sourceLineNo">390</span> updateRequiredOptions(opt);<a name="line.390"></a> @@ -412,7 +412,7 @@ <span class="sourceLineNo">404</span> * <a name="line.404"></a> <span class="sourceLineNo">405</span> * @param opt<a name="line.405"></a> <span class="sourceLineNo">406</span> */<a name="line.406"></a> -<span class="sourceLineNo">407</span> private void updateRequiredOptions(Option opt) throws ParseException<a name="line.407"></a> +<span class="sourceLineNo">407</span> private void updateRequiredOptions(final Option opt) throws ParseException<a name="line.407"></a> <span class="sourceLineNo">408</span> {<a name="line.408"></a> <span class="sourceLineNo">409</span> // if the option is a required option remove the option from<a name="line.409"></a> <span class="sourceLineNo">410</span> // the requiredOptions list<a name="line.410"></a> @@ -425,7 +425,7 @@ <span class="sourceLineNo">417</span> // option of the group<a name="line.417"></a> <span class="sourceLineNo">418</span> if (getOptions().getOptionGroup(opt) != null)<a name="line.418"></a> <span class="sourceLineNo">419</span> {<a name="line.419"></a> -<span class="sourceLineNo">420</span> OptionGroup group = getOptions().getOptionGroup(opt);<a name="line.420"></a> +<span class="sourceLineNo">420</span> final OptionGroup group = getOptions().getOptionGroup(opt);<a name="line.420"></a> <span class="sourceLineNo">421</span><a name="line.421"></a> <span class="sourceLineNo">422</span> if (group.isRequired())<a name="line.422"></a> <span class="sourceLineNo">423</span> {<a name="line.423"></a> Modified: websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/PatternOptionBuilder.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/PatternOptionBuilder.html (original) +++ websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/PatternOptionBuilder.html Thu Jun 8 17:47:18 2017 @@ -60,7 +60,7 @@ <span class="sourceLineNo">052</span> * TODO: These need to break out to OptionType and also to be pluggable.<a name="line.52"></a> <span class="sourceLineNo">053</span> * </p><a name="line.53"></a> <span class="sourceLineNo">054</span> *<a name="line.54"></a> -<span class="sourceLineNo">055</span> * @version $Id: PatternOptionBuilder.java 1677406 2015-05-03 14:27:31Z britter $<a name="line.55"></a> +<span class="sourceLineNo">055</span> * @version $Id$<a name="line.55"></a> <span class="sourceLineNo">056</span> */<a name="line.56"></a> <span class="sourceLineNo">057</span>public class PatternOptionBuilder<a name="line.57"></a> <span class="sourceLineNo">058</span>{<a name="line.58"></a> @@ -101,7 +101,7 @@ <span class="sourceLineNo">093</span> * @param ch the specified character<a name="line.93"></a> <span class="sourceLineNo">094</span> * @return The class that <code>ch</code> represents<a name="line.94"></a> <span class="sourceLineNo">095</span> */<a name="line.95"></a> -<span class="sourceLineNo">096</span> public static Object getValueClass(char ch)<a name="line.96"></a> +<span class="sourceLineNo">096</span> public static Object getValueClass(final char ch)<a name="line.96"></a> <span class="sourceLineNo">097</span> {<a name="line.97"></a> <span class="sourceLineNo">098</span> switch (ch)<a name="line.98"></a> <span class="sourceLineNo">099</span> {<a name="line.99"></a> @@ -135,7 +135,7 @@ <span class="sourceLineNo">127</span> * @param ch the specified character<a name="line.127"></a> <span class="sourceLineNo">128</span> * @return true if <code>ch</code> is a value code, otherwise false.<a name="line.128"></a> <span class="sourceLineNo">129</span> */<a name="line.129"></a> -<span class="sourceLineNo">130</span> public static boolean isValueCode(char ch)<a name="line.130"></a> +<span class="sourceLineNo">130</span> public static boolean isValueCode(final char ch)<a name="line.130"></a> <span class="sourceLineNo">131</span> {<a name="line.131"></a> <span class="sourceLineNo">132</span> return ch == '@'<a name="line.132"></a> <span class="sourceLineNo">133</span> || ch == ':'<a name="line.133"></a> @@ -155,17 +155,17 @@ <span class="sourceLineNo">147</span> * @param pattern the pattern string<a name="line.147"></a> <span class="sourceLineNo">148</span> * @return The {@link Options} instance<a name="line.148"></a> <span class="sourceLineNo">149</span> */<a name="line.149"></a> -<span class="sourceLineNo">150</span> public static Options parsePattern(String pattern)<a name="line.150"></a> +<span class="sourceLineNo">150</span> public static Options parsePattern(final String pattern)<a name="line.150"></a> <span class="sourceLineNo">151</span> {<a name="line.151"></a> <span class="sourceLineNo">152</span> char opt = ' ';<a name="line.152"></a> <span class="sourceLineNo">153</span> boolean required = false;<a name="line.153"></a> <span class="sourceLineNo">154</span> Class<?> type = null;<a name="line.154"></a> <span class="sourceLineNo">155</span><a name="line.155"></a> -<span class="sourceLineNo">156</span> Options options = new Options();<a name="line.156"></a> +<span class="sourceLineNo">156</span> final Options options = new Options();<a name="line.156"></a> <span class="sourceLineNo">157</span><a name="line.157"></a> <span class="sourceLineNo">158</span> for (int i = 0; i < pattern.length(); i++)<a name="line.158"></a> <span class="sourceLineNo">159</span> {<a name="line.159"></a> -<span class="sourceLineNo">160</span> char ch = pattern.charAt(i);<a name="line.160"></a> +<span class="sourceLineNo">160</span> final char ch = pattern.charAt(i);<a name="line.160"></a> <span class="sourceLineNo">161</span><a name="line.161"></a> <span class="sourceLineNo">162</span> // a value code comes after an option and specifies<a name="line.162"></a> <span class="sourceLineNo">163</span> // details about it<a name="line.163"></a> Modified: websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/PosixParser.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/PosixParser.html (original) +++ websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/PosixParser.html Thu Jun 8 17:47:18 2017 @@ -34,7 +34,7 @@ <span class="sourceLineNo">026</span> * The class PosixParser provides an implementation of the<a name="line.26"></a> <span class="sourceLineNo">027</span> * {@link Parser#flatten(Options,String[],boolean) flatten} method.<a name="line.27"></a> <span class="sourceLineNo">028</span> *<a name="line.28"></a> -<span class="sourceLineNo">029</span> * @version $Id: PosixParser.java 1783175 2017-02-16 07:52:05Z britter $<a name="line.29"></a> +<span class="sourceLineNo">029</span> * @version $Id$<a name="line.29"></a> <span class="sourceLineNo">030</span> * @deprecated since 1.3, use the {@link DefaultParser} instead<a name="line.30"></a> <span class="sourceLineNo">031</span> */<a name="line.31"></a> <span class="sourceLineNo">032</span>@Deprecated<a name="line.32"></a> @@ -101,19 +101,19 @@ <span class="sourceLineNo">093</span> * @return The flattened <code>arguments</code> String array.<a name="line.93"></a> <span class="sourceLineNo">094</span> */<a name="line.94"></a> <span class="sourceLineNo">095</span> @Override<a name="line.95"></a> -<span class="sourceLineNo">096</span> protected String[] flatten(Options options, String[] arguments, boolean stopAtNonOption) throws ParseException<a name="line.96"></a> +<span class="sourceLineNo">096</span> protected String[] flatten(final Options options, final String[] arguments, final boolean stopAtNonOption) throws ParseException<a name="line.96"></a> <span class="sourceLineNo">097</span> {<a name="line.97"></a> <span class="sourceLineNo">098</span> init();<a name="line.98"></a> <span class="sourceLineNo">099</span> this.options = options;<a name="line.99"></a> <span class="sourceLineNo">100</span><a name="line.100"></a> <span class="sourceLineNo">101</span> // an iterator for the command line tokens<a name="line.101"></a> -<span class="sourceLineNo">102</span> Iterator<String> iter = Arrays.asList(arguments).iterator();<a name="line.102"></a> +<span class="sourceLineNo">102</span> final Iterator<String> iter = Arrays.asList(arguments).iterator();<a name="line.102"></a> <span class="sourceLineNo">103</span><a name="line.103"></a> <span class="sourceLineNo">104</span> // process each command line token<a name="line.104"></a> <span class="sourceLineNo">105</span> while (iter.hasNext())<a name="line.105"></a> <span class="sourceLineNo">106</span> {<a name="line.106"></a> <span class="sourceLineNo">107</span> // get the next command line token<a name="line.107"></a> -<span class="sourceLineNo">108</span> String token = iter.next();<a name="line.108"></a> +<span class="sourceLineNo">108</span> final String token = iter.next();<a name="line.108"></a> <span class="sourceLineNo">109</span><a name="line.109"></a> <span class="sourceLineNo">110</span> // single or double hyphen<a name="line.110"></a> <span class="sourceLineNo">111</span> if ("-".equals(token) || "--".equals(token))<a name="line.111"></a> @@ -124,10 +124,10 @@ <span class="sourceLineNo">116</span> // handle long option --foo or --foo=bar<a name="line.116"></a> <span class="sourceLineNo">117</span> else if (token.startsWith("--"))<a name="line.117"></a> <span class="sourceLineNo">118</span> {<a name="line.118"></a> -<span class="sourceLineNo">119</span> int pos = token.indexOf('=');<a name="line.119"></a> -<span class="sourceLineNo">120</span> String opt = pos == -1 ? token : token.substring(0, pos); // --foo<a name="line.120"></a> +<span class="sourceLineNo">119</span> final int pos = token.indexOf('=');<a name="line.119"></a> +<span class="sourceLineNo">120</span> final String opt = pos == -1 ? token : token.substring(0, pos); // --foo<a name="line.120"></a> <span class="sourceLineNo">121</span> <a name="line.121"></a> -<span class="sourceLineNo">122</span> List<String> matchingOpts = options.getMatchingOptions(opt);<a name="line.122"></a> +<span class="sourceLineNo">122</span> final List<String> matchingOpts = options.getMatchingOptions(opt);<a name="line.122"></a> <span class="sourceLineNo">123</span><a name="line.123"></a> <span class="sourceLineNo">124</span> if (matchingOpts.isEmpty())<a name="line.124"></a> <span class="sourceLineNo">125</span> {<a name="line.125"></a> @@ -157,12 +157,12 @@ <span class="sourceLineNo">149</span> }<a name="line.149"></a> <span class="sourceLineNo">150</span> else if (!options.getMatchingOptions(token).isEmpty())<a name="line.150"></a> <span class="sourceLineNo">151</span> {<a name="line.151"></a> -<span class="sourceLineNo">152</span> List<String> matchingOpts = options.getMatchingOptions(token);<a name="line.152"></a> +<span class="sourceLineNo">152</span> final List<String> matchingOpts = options.getMatchingOptions(token);<a name="line.152"></a> <span class="sourceLineNo">153</span> if (matchingOpts.size() > 1)<a name="line.153"></a> <span class="sourceLineNo">154</span> {<a name="line.154"></a> <span class="sourceLineNo">155</span> throw new AmbiguousOptionException(token, matchingOpts);<a name="line.155"></a> <span class="sourceLineNo">156</span> }<a name="line.156"></a> -<span class="sourceLineNo">157</span> Option opt = options.getOption(matchingOpts.get(0));<a name="line.157"></a> +<span class="sourceLineNo">157</span> final Option opt = options.getOption(matchingOpts.get(0));<a name="line.157"></a> <span class="sourceLineNo">158</span> processOptionToken("-" + opt.getLongOpt(), stopAtNonOption);<a name="line.158"></a> <span class="sourceLineNo">159</span> }<a name="line.159"></a> <span class="sourceLineNo">160</span> // requires bursting<a name="line.160"></a> @@ -187,7 +187,7 @@ <span class="sourceLineNo">179</span> *<a name="line.179"></a> <span class="sourceLineNo">180</span> * @param iter An iterator over the remaining tokens<a name="line.180"></a> <span class="sourceLineNo">181</span> */<a name="line.181"></a> -<span class="sourceLineNo">182</span> private void gobble(Iterator<String> iter)<a name="line.182"></a> +<span class="sourceLineNo">182</span> private void gobble(final Iterator<String> iter)<a name="line.182"></a> <span class="sourceLineNo">183</span> {<a name="line.183"></a> <span class="sourceLineNo">184</span> if (eatTheRest)<a name="line.184"></a> <span class="sourceLineNo">185</span> {<a name="line.185"></a> @@ -205,7 +205,7 @@ <span class="sourceLineNo">197</span> *<a name="line.197"></a> <span class="sourceLineNo">198</span> * @param value The current token<a name="line.198"></a> <span class="sourceLineNo">199</span> */<a name="line.199"></a> -<span class="sourceLineNo">200</span> private void processNonOptionToken(String value, boolean stopAtNonOption)<a name="line.200"></a> +<span class="sourceLineNo">200</span> private void processNonOptionToken(final String value, final boolean stopAtNonOption)<a name="line.200"></a> <span class="sourceLineNo">201</span> {<a name="line.201"></a> <span class="sourceLineNo">202</span> if (stopAtNonOption && (currentOption == null || !currentOption.hasArg()))<a name="line.202"></a> <span class="sourceLineNo">203</span> {<a name="line.203"></a> @@ -228,7 +228,7 @@ <span class="sourceLineNo">220</span> * @param stopAtNonOption Specifies whether flattening should halt<a name="line.220"></a> <span class="sourceLineNo">221</span> * at the first non option.<a name="line.221"></a> <span class="sourceLineNo">222</span> */<a name="line.222"></a> -<span class="sourceLineNo">223</span> private void processOptionToken(String token, boolean stopAtNonOption)<a name="line.223"></a> +<span class="sourceLineNo">223</span> private void processOptionToken(final String token, final boolean stopAtNonOption)<a name="line.223"></a> <span class="sourceLineNo">224</span> {<a name="line.224"></a> <span class="sourceLineNo">225</span> if (stopAtNonOption && !options.hasOption(token))<a name="line.225"></a> <span class="sourceLineNo">226</span> {<a name="line.226"></a> @@ -269,11 +269,11 @@ <span class="sourceLineNo">261</span> * @param stopAtNonOption Specifies whether to stop processing<a name="line.261"></a> <span class="sourceLineNo">262</span> * at the first non-Option encountered.<a name="line.262"></a> <span class="sourceLineNo">263</span> */<a name="line.263"></a> -<span class="sourceLineNo">264</span> protected void burstToken(String token, boolean stopAtNonOption)<a name="line.264"></a> +<span class="sourceLineNo">264</span> protected void burstToken(final String token, final boolean stopAtNonOption)<a name="line.264"></a> <span class="sourceLineNo">265</span> {<a name="line.265"></a> <span class="sourceLineNo">266</span> for (int i = 1; i < token.length(); i++)<a name="line.266"></a> <span class="sourceLineNo">267</span> {<a name="line.267"></a> -<span class="sourceLineNo">268</span> String ch = String.valueOf(token.charAt(i));<a name="line.268"></a> +<span class="sourceLineNo">268</span> final String ch = String.valueOf(token.charAt(i));<a name="line.268"></a> <span class="sourceLineNo">269</span><a name="line.269"></a> <span class="sourceLineNo">270</span> if (options.hasOption(ch))<a name="line.270"></a> <span class="sourceLineNo">271</span> {<a name="line.271"></a> Modified: websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/TypeHandler.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/TypeHandler.html (original) +++ websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/TypeHandler.html Thu Jun 8 17:47:18 2017 @@ -38,7 +38,7 @@ <span class="sourceLineNo">030</span> * of conversion functionalities to ConvertUtils component in Commons<a name="line.30"></a> <span class="sourceLineNo">031</span> * already. BeanUtils I think.<a name="line.31"></a> <span class="sourceLineNo">032</span> *<a name="line.32"></a> -<span class="sourceLineNo">033</span> * @version $Id: TypeHandler.java 1677452 2015-05-03 17:10:00Z ggregory $<a name="line.33"></a> +<span class="sourceLineNo">033</span> * @version $Id$<a name="line.33"></a> <span class="sourceLineNo">034</span> */<a name="line.34"></a> <span class="sourceLineNo">035</span>public class TypeHandler<a name="line.35"></a> <span class="sourceLineNo">036</span>{<a name="line.36"></a> @@ -52,7 +52,7 @@ <span class="sourceLineNo">044</span> * the value of <code>str</code>.<a name="line.44"></a> <span class="sourceLineNo">045</span> * @throws ParseException if the value creation for the given object type failed<a name="line.45"></a> <span class="sourceLineNo">046</span> */<a name="line.46"></a> -<span class="sourceLineNo">047</span> public static Object createValue(String str, Object obj) throws ParseException<a name="line.47"></a> +<span class="sourceLineNo">047</span> public static Object createValue(final String str, final Object obj) throws ParseException<a name="line.47"></a> <span class="sourceLineNo">048</span> {<a name="line.48"></a> <span class="sourceLineNo">049</span> return createValue(str, (Class<?>) obj);<a name="line.49"></a> <span class="sourceLineNo">050</span> }<a name="line.50"></a> @@ -67,7 +67,7 @@ <span class="sourceLineNo">059</span> * the value of <code>str</code>.<a name="line.59"></a> <span class="sourceLineNo">060</span> * @throws ParseException if the value creation for the given class failed<a name="line.60"></a> <span class="sourceLineNo">061</span> */<a name="line.61"></a> -<span class="sourceLineNo">062</span> public static Object createValue(String str, Class<?> clazz) throws ParseException<a name="line.62"></a> +<span class="sourceLineNo">062</span> public static Object createValue(final String str, final Class<?> clazz) throws ParseException<a name="line.62"></a> <span class="sourceLineNo">063</span> {<a name="line.63"></a> <span class="sourceLineNo">064</span> if (PatternOptionBuilder.STRING_VALUE == clazz)<a name="line.64"></a> <span class="sourceLineNo">065</span> {<a name="line.65"></a> @@ -118,7 +118,7 @@ <span class="sourceLineNo">110</span> * @return the initialised object<a name="line.110"></a> <span class="sourceLineNo">111</span> * @throws ParseException if the class could not be found or the object could not be created<a name="line.111"></a> <span class="sourceLineNo">112</span> */<a name="line.112"></a> -<span class="sourceLineNo">113</span> public static Object createObject(String classname) throws ParseException<a name="line.113"></a> +<span class="sourceLineNo">113</span> public static Object createObject(final String classname) throws ParseException<a name="line.113"></a> <span class="sourceLineNo">114</span> {<a name="line.114"></a> <span class="sourceLineNo">115</span> Class<?> cl;<a name="line.115"></a> <span class="sourceLineNo">116</span><a name="line.116"></a> @@ -126,7 +126,7 @@ <span class="sourceLineNo">118</span> {<a name="line.118"></a> <span class="sourceLineNo">119</span> cl = Class.forName(classname);<a name="line.119"></a> <span class="sourceLineNo">120</span> }<a name="line.120"></a> -<span class="sourceLineNo">121</span> catch (ClassNotFoundException cnfe)<a name="line.121"></a> +<span class="sourceLineNo">121</span> catch (final ClassNotFoundException cnfe)<a name="line.121"></a> <span class="sourceLineNo">122</span> {<a name="line.122"></a> <span class="sourceLineNo">123</span> throw new ParseException("Unable to find the class: " + classname);<a name="line.123"></a> <span class="sourceLineNo">124</span> }<a name="line.124"></a> @@ -135,7 +135,7 @@ <span class="sourceLineNo">127</span> {<a name="line.127"></a> <span class="sourceLineNo">128</span> return cl.newInstance();<a name="line.128"></a> <span class="sourceLineNo">129</span> }<a name="line.129"></a> -<span class="sourceLineNo">130</span> catch (Exception e)<a name="line.130"></a> +<span class="sourceLineNo">130</span> catch (final Exception e)<a name="line.130"></a> <span class="sourceLineNo">131</span> {<a name="line.131"></a> <span class="sourceLineNo">132</span> throw new ParseException(e.getClass().getName() + "; Unable to create an instance of: " + classname);<a name="line.132"></a> <span class="sourceLineNo">133</span> }<a name="line.133"></a> @@ -149,7 +149,7 @@ <span class="sourceLineNo">141</span> * @return the number represented by <code>str</code><a name="line.141"></a> <span class="sourceLineNo">142</span> * @throws ParseException if <code>str</code> is not a number<a name="line.142"></a> <span class="sourceLineNo">143</span> */<a name="line.143"></a> -<span class="sourceLineNo">144</span> public static Number createNumber(String str) throws ParseException<a name="line.144"></a> +<span class="sourceLineNo">144</span> public static Number createNumber(final String str) throws ParseException<a name="line.144"></a> <span class="sourceLineNo">145</span> {<a name="line.145"></a> <span class="sourceLineNo">146</span> try<a name="line.146"></a> <span class="sourceLineNo">147</span> {<a name="line.147"></a> @@ -159,7 +159,7 @@ <span class="sourceLineNo">151</span> }<a name="line.151"></a> <span class="sourceLineNo">152</span> return Long.valueOf(str);<a name="line.152"></a> <span class="sourceLineNo">153</span> }<a name="line.153"></a> -<span class="sourceLineNo">154</span> catch (NumberFormatException e)<a name="line.154"></a> +<span class="sourceLineNo">154</span> catch (final NumberFormatException e)<a name="line.154"></a> <span class="sourceLineNo">155</span> {<a name="line.155"></a> <span class="sourceLineNo">156</span> throw new ParseException(e.getMessage());<a name="line.156"></a> <span class="sourceLineNo">157</span> }<a name="line.157"></a> @@ -172,13 +172,13 @@ <span class="sourceLineNo">164</span> * @return The class if it is found<a name="line.164"></a> <span class="sourceLineNo">165</span> * @throws ParseException if the class could not be found<a name="line.165"></a> <span class="sourceLineNo">166</span> */<a name="line.166"></a> -<span class="sourceLineNo">167</span> public static Class<?> createClass(String classname) throws ParseException<a name="line.167"></a> +<span class="sourceLineNo">167</span> public static Class<?> createClass(final String classname) throws ParseException<a name="line.167"></a> <span class="sourceLineNo">168</span> {<a name="line.168"></a> <span class="sourceLineNo">169</span> try<a name="line.169"></a> <span class="sourceLineNo">170</span> {<a name="line.170"></a> <span class="sourceLineNo">171</span> return Class.forName(classname);<a name="line.171"></a> <span class="sourceLineNo">172</span> }<a name="line.172"></a> -<span class="sourceLineNo">173</span> catch (ClassNotFoundException e)<a name="line.173"></a> +<span class="sourceLineNo">173</span> catch (final ClassNotFoundException e)<a name="line.173"></a> <span class="sourceLineNo">174</span> {<a name="line.174"></a> <span class="sourceLineNo">175</span> throw new ParseException("Unable to find the class: " + classname);<a name="line.175"></a> <span class="sourceLineNo">176</span> }<a name="line.176"></a> @@ -195,7 +195,7 @@ <span class="sourceLineNo">187</span> * otherwise return null.<a name="line.187"></a> <span class="sourceLineNo">188</span> * @throws UnsupportedOperationException always<a name="line.188"></a> <span class="sourceLineNo">189</span> */<a name="line.189"></a> -<span class="sourceLineNo">190</span> public static Date createDate(String str)<a name="line.190"></a> +<span class="sourceLineNo">190</span> public static Date createDate(final String str)<a name="line.190"></a> <span class="sourceLineNo">191</span> {<a name="line.191"></a> <span class="sourceLineNo">192</span> throw new UnsupportedOperationException("Not yet implemented");<a name="line.192"></a> <span class="sourceLineNo">193</span> }<a name="line.193"></a> @@ -207,13 +207,13 @@ <span class="sourceLineNo">199</span> * @return The URL in <code>str</code> is well-formed<a name="line.199"></a> <span class="sourceLineNo">200</span> * @throws ParseException if the URL in <code>str</code> is not well-formed<a name="line.200"></a> <span class="sourceLineNo">201</span> */<a name="line.201"></a> -<span class="sourceLineNo">202</span> public static URL createURL(String str) throws ParseException<a name="line.202"></a> +<span class="sourceLineNo">202</span> public static URL createURL(final String str) throws ParseException<a name="line.202"></a> <span class="sourceLineNo">203</span> {<a name="line.203"></a> <span class="sourceLineNo">204</span> try<a name="line.204"></a> <span class="sourceLineNo">205</span> {<a name="line.205"></a> <span class="sourceLineNo">206</span> return new URL(str);<a name="line.206"></a> <span class="sourceLineNo">207</span> }<a name="line.207"></a> -<span class="sourceLineNo">208</span> catch (MalformedURLException e)<a name="line.208"></a> +<span class="sourceLineNo">208</span> catch (final MalformedURLException e)<a name="line.208"></a> <span class="sourceLineNo">209</span> {<a name="line.209"></a> <span class="sourceLineNo">210</span> throw new ParseException("Unable to parse the URL: " + str);<a name="line.210"></a> <span class="sourceLineNo">211</span> }<a name="line.211"></a> @@ -225,7 +225,7 @@ <span class="sourceLineNo">217</span> * @param str the File location<a name="line.217"></a> <span class="sourceLineNo">218</span> * @return The file represented by <code>str</code>.<a name="line.218"></a> <span class="sourceLineNo">219</span> */<a name="line.219"></a> -<span class="sourceLineNo">220</span> public static File createFile(String str)<a name="line.220"></a> +<span class="sourceLineNo">220</span> public static File createFile(final String str)<a name="line.220"></a> <span class="sourceLineNo">221</span> {<a name="line.221"></a> <span class="sourceLineNo">222</span> return new File(str);<a name="line.222"></a> <span class="sourceLineNo">223</span> }<a name="line.223"></a> @@ -240,7 +240,7 @@ <span class="sourceLineNo">232</span> * @return The File[] represented by <code>str</code>.<a name="line.232"></a> <span class="sourceLineNo">233</span> * @throws UnsupportedOperationException always<a name="line.233"></a> <span class="sourceLineNo">234</span> */<a name="line.234"></a> -<span class="sourceLineNo">235</span> public static File[] createFiles(String str)<a name="line.235"></a> +<span class="sourceLineNo">235</span> public static File[] createFiles(final String str)<a name="line.235"></a> <span class="sourceLineNo">236</span> {<a name="line.236"></a> <span class="sourceLineNo">237</span> // to implement/port:<a name="line.237"></a> <span class="sourceLineNo">238</span> // return FileW.findFiles(str);<a name="line.238"></a> Modified: websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/UnrecognizedOptionException.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/UnrecognizedOptionException.html (original) +++ websites/production/commons/content/proper/commons-cli/apidocs/src-html/org/apache/commons/cli/UnrecognizedOptionException.html Thu Jun 8 17:47:18 2017 @@ -29,7 +29,7 @@ <span class="sourceLineNo">021</span> * Exception thrown during parsing signalling an unrecognized<a name="line.21"></a> <span class="sourceLineNo">022</span> * option was seen.<a name="line.22"></a> <span class="sourceLineNo">023</span> *<a name="line.23"></a> -<span class="sourceLineNo">024</span> * @version $Id: UnrecognizedOptionException.java 1443102 2013-02-06 18:12:16Z tn $<a name="line.24"></a> +<span class="sourceLineNo">024</span> * @version $Id$<a name="line.24"></a> <span class="sourceLineNo">025</span> */<a name="line.25"></a> <span class="sourceLineNo">026</span>public class UnrecognizedOptionException extends ParseException<a name="line.26"></a> <span class="sourceLineNo">027</span>{<a name="line.27"></a> @@ -47,7 +47,7 @@ <span class="sourceLineNo">039</span> *<a name="line.39"></a> <span class="sourceLineNo">040</span> * @param message the detail message<a name="line.40"></a> <span class="sourceLineNo">041</span> */<a name="line.41"></a> -<span class="sourceLineNo">042</span> public UnrecognizedOptionException(String message)<a name="line.42"></a> +<span class="sourceLineNo">042</span> public UnrecognizedOptionException(final String message)<a name="line.42"></a> <span class="sourceLineNo">043</span> {<a name="line.43"></a> <span class="sourceLineNo">044</span> super(message);<a name="line.44"></a> <span class="sourceLineNo">045</span> }<a name="line.45"></a> @@ -60,7 +60,7 @@ <span class="sourceLineNo">052</span> * @param option the unrecognized option<a name="line.52"></a> <span class="sourceLineNo">053</span> * @since 1.2<a name="line.53"></a> <span class="sourceLineNo">054</span> */<a name="line.54"></a> -<span class="sourceLineNo">055</span> public UnrecognizedOptionException(String message, String option)<a name="line.55"></a> +<span class="sourceLineNo">055</span> public UnrecognizedOptionException(final String message, final String option)<a name="line.55"></a> <span class="sourceLineNo">056</span> {<a name="line.56"></a> <span class="sourceLineNo">057</span> this(message);<a name="line.57"></a> <span class="sourceLineNo">058</span> this.option = option;<a name="line.58"></a>