Modified: websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/PosixParserTest.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/PosixParserTest.html (original) +++ websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/PosixParserTest.html Mon Mar 13 09:49:52 2017 @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>PosixParserTest xref</title> <link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" /> </head> @@ -26,76 +26,69 @@ <a class="jxr_linenumber" name="L18" href="#L18">18</a> <strong class="jxr_keyword">package</strong> org.apache.commons.cli; <a class="jxr_linenumber" name="L19" href="#L19">19</a> <a class="jxr_linenumber" name="L20" href="#L20">20</a> <strong class="jxr_keyword">import</strong> org.junit.Before; -<a class="jxr_linenumber" name="L21" href="#L21">21</a> -<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"> * Test case for the PosixParser.</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/PosixParserTest.html">PosixParserTest</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../org/apache/commons/cli/ParserTestCase.html">ParserTestCase</a> -<a class="jxr_linenumber" name="L26" href="#L26">26</a> { -<a class="jxr_linenumber" name="L27" href="#L27">27</a> @SuppressWarnings(<span class="jxr_string">"deprecation"</span>) -<a class="jxr_linenumber" name="L28" href="#L28">28</a> @Before -<a class="jxr_linenumber" name="L29" href="#L29">29</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setUp() -<a class="jxr_linenumber" name="L30" href="#L30">30</a> { -<a class="jxr_linenumber" name="L31" href="#L31">31</a> <strong class="jxr_keyword">super</strong>.setUp(); -<a class="jxr_linenumber" name="L32" href="#L32">32</a> parser = <strong class="jxr_keyword">new</strong> PosixParser(); -<a class="jxr_linenumber" name="L33" href="#L33">33</a> } -<a class="jxr_linenumber" name="L34" href="#L34">34</a> -<a class="jxr_linenumber" name="L35" href="#L35">35</a> @Override -<a class="jxr_linenumber" name="L36" href="#L36">36</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testDoubleDash2() <strong class="jxr_keyword">throws</strong> Exception -<a class="jxr_linenumber" name="L37" href="#L37">37</a> { -<a class="jxr_linenumber" name="L38" href="#L38">38</a> <em class="jxr_comment">// not supported by the PosixParser</em> -<a class="jxr_linenumber" name="L39" href="#L39">39</a> } -<a class="jxr_linenumber" name="L40" href="#L40">40</a> -<a class="jxr_linenumber" name="L41" href="#L41">41</a> @Override -<a class="jxr_linenumber" name="L42" href="#L42">42</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testLongWithoutEqualSingleDash() <strong class="jxr_keyword">throws</strong> Exception -<a class="jxr_linenumber" name="L43" href="#L43">43</a> { -<a class="jxr_linenumber" name="L44" href="#L44">44</a> <em class="jxr_comment">// not supported by the PosixParser</em> +<a class="jxr_linenumber" name="L21" href="#L21">21</a> <strong class="jxr_keyword">import</strong> org.junit.Ignore; +<a class="jxr_linenumber" name="L22" href="#L22">22</a> <strong class="jxr_keyword">import</strong> org.junit.Test; +<a class="jxr_linenumber" name="L23" href="#L23">23</a> +<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> <em class="jxr_javadoccomment"> * Test case for the PosixParser.</em> +<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> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/commons/cli/PosixParserTest.html">PosixParserTest</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../org/apache/commons/cli/ParserTestCase.html">ParserTestCase</a> +<a class="jxr_linenumber" name="L28" href="#L28">28</a> { +<a class="jxr_linenumber" name="L29" href="#L29">29</a> @SuppressWarnings(<span class="jxr_string">"deprecation"</span>) +<a class="jxr_linenumber" name="L30" href="#L30">30</a> @Before +<a class="jxr_linenumber" name="L31" href="#L31">31</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setUp() +<a class="jxr_linenumber" name="L32" href="#L32">32</a> { +<a class="jxr_linenumber" name="L33" href="#L33">33</a> <strong class="jxr_keyword">super</strong>.setUp(); +<a class="jxr_linenumber" name="L34" href="#L34">34</a> parser = <strong class="jxr_keyword">new</strong> PosixParser(); +<a class="jxr_linenumber" name="L35" href="#L35">35</a> } +<a class="jxr_linenumber" name="L36" href="#L36">36</a> +<a class="jxr_linenumber" name="L37" href="#L37">37</a> @Override @Test @Ignore(<span class="jxr_string">"not supported by the PosixParser"</span>) +<a class="jxr_linenumber" name="L38" href="#L38">38</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testDoubleDash2() <strong class="jxr_keyword">throws</strong> Exception +<a class="jxr_linenumber" name="L39" href="#L39">39</a> { +<a class="jxr_linenumber" name="L40" href="#L40">40</a> } +<a class="jxr_linenumber" name="L41" href="#L41">41</a> +<a class="jxr_linenumber" name="L42" href="#L42">42</a> @Override @Test @Ignore(<span class="jxr_string">"not supported by the PosixParser"</span>) +<a class="jxr_linenumber" name="L43" href="#L43">43</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testLongWithoutEqualSingleDash() <strong class="jxr_keyword">throws</strong> Exception +<a class="jxr_linenumber" name="L44" href="#L44">44</a> { <a class="jxr_linenumber" name="L45" href="#L45">45</a> } <a class="jxr_linenumber" name="L46" href="#L46">46</a> -<a class="jxr_linenumber" name="L47" href="#L47">47</a> @Override +<a class="jxr_linenumber" name="L47" href="#L47">47</a> @Override @Test @Ignore(<span class="jxr_string">"not supported by the PosixParser"</span>) <a class="jxr_linenumber" name="L48" href="#L48">48</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testAmbiguousLongWithoutEqualSingleDash() <strong class="jxr_keyword">throws</strong> Exception <a class="jxr_linenumber" name="L49" href="#L49">49</a> { -<a class="jxr_linenumber" name="L50" href="#L50">50</a> <em class="jxr_comment">// not supported by the PosixParser</em> -<a class="jxr_linenumber" name="L51" href="#L51">51</a> } -<a class="jxr_linenumber" name="L52" href="#L52">52</a> -<a class="jxr_linenumber" name="L53" href="#L53">53</a> @Override -<a class="jxr_linenumber" name="L54" href="#L54">54</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testNegativeOption() <strong class="jxr_keyword">throws</strong> Exception -<a class="jxr_linenumber" name="L55" href="#L55">55</a> { -<a class="jxr_linenumber" name="L56" href="#L56">56</a> <em class="jxr_comment">// not supported by the PosixParser (CLI-184)</em> -<a class="jxr_linenumber" name="L57" href="#L57">57</a> } -<a class="jxr_linenumber" name="L58" href="#L58">58</a> -<a class="jxr_linenumber" name="L59" href="#L59">59</a> @Override -<a class="jxr_linenumber" name="L60" href="#L60">60</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testLongWithUnexpectedArgument1() <strong class="jxr_keyword">throws</strong> Exception -<a class="jxr_linenumber" name="L61" href="#L61">61</a> { -<a class="jxr_linenumber" name="L62" href="#L62">62</a> <em class="jxr_comment">// not supported by the PosixParser</em> -<a class="jxr_linenumber" name="L63" href="#L63">63</a> } -<a class="jxr_linenumber" name="L64" href="#L64">64</a> -<a class="jxr_linenumber" name="L65" href="#L65">65</a> @Override -<a class="jxr_linenumber" name="L66" href="#L66">66</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testLongWithEqualSingleDash() <strong class="jxr_keyword">throws</strong> Exception -<a class="jxr_linenumber" name="L67" href="#L67">67</a> { -<a class="jxr_linenumber" name="L68" href="#L68">68</a> <em class="jxr_comment">// not supported by the PosixParser</em> -<a class="jxr_linenumber" name="L69" href="#L69">69</a> } -<a class="jxr_linenumber" name="L70" href="#L70">70</a> -<a class="jxr_linenumber" name="L71" href="#L71">71</a> @Override -<a class="jxr_linenumber" name="L72" href="#L72">72</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testShortWithEqual() <strong class="jxr_keyword">throws</strong> Exception -<a class="jxr_linenumber" name="L73" href="#L73">73</a> { -<a class="jxr_linenumber" name="L74" href="#L74">74</a> <em class="jxr_comment">// not supported by the PosixParser</em> +<a class="jxr_linenumber" name="L50" href="#L50">50</a> } +<a class="jxr_linenumber" name="L51" href="#L51">51</a> +<a class="jxr_linenumber" name="L52" href="#L52">52</a> @Override @Test @Ignore(<span class="jxr_string">"not supported by the PosixParser (CLI-184)"</span>) +<a class="jxr_linenumber" name="L53" href="#L53">53</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testNegativeOption() <strong class="jxr_keyword">throws</strong> Exception +<a class="jxr_linenumber" name="L54" href="#L54">54</a> { +<a class="jxr_linenumber" name="L55" href="#L55">55</a> } +<a class="jxr_linenumber" name="L56" href="#L56">56</a> +<a class="jxr_linenumber" name="L57" href="#L57">57</a> @Override @Test @Ignore(<span class="jxr_string">"not supported by the PosixParser"</span>) +<a class="jxr_linenumber" name="L58" href="#L58">58</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testLongWithUnexpectedArgument1() <strong class="jxr_keyword">throws</strong> Exception +<a class="jxr_linenumber" name="L59" href="#L59">59</a> { +<a class="jxr_linenumber" name="L60" href="#L60">60</a> } +<a class="jxr_linenumber" name="L61" href="#L61">61</a> +<a class="jxr_linenumber" name="L62" href="#L62">62</a> @Override @Test @Ignore(<span class="jxr_string">"not supported by the PosixParser"</span>) +<a class="jxr_linenumber" name="L63" href="#L63">63</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testLongWithEqualSingleDash() <strong class="jxr_keyword">throws</strong> Exception +<a class="jxr_linenumber" name="L64" href="#L64">64</a> { +<a class="jxr_linenumber" name="L65" href="#L65">65</a> } +<a class="jxr_linenumber" name="L66" href="#L66">66</a> +<a class="jxr_linenumber" name="L67" href="#L67">67</a> @Override @Test @Ignore(<span class="jxr_string">"not supported by the PosixParser"</span>) +<a class="jxr_linenumber" name="L68" href="#L68">68</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testShortWithEqual() <strong class="jxr_keyword">throws</strong> Exception +<a class="jxr_linenumber" name="L69" href="#L69">69</a> { +<a class="jxr_linenumber" name="L70" href="#L70">70</a> } +<a class="jxr_linenumber" name="L71" href="#L71">71</a> +<a class="jxr_linenumber" name="L72" href="#L72">72</a> @Override @Test @Ignore(<span class="jxr_string">"not supported by the PosixParser"</span>) +<a class="jxr_linenumber" name="L73" href="#L73">73</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testUnambiguousPartialLongOption4() <strong class="jxr_keyword">throws</strong> Exception +<a class="jxr_linenumber" name="L74" href="#L74">74</a> { <a class="jxr_linenumber" name="L75" href="#L75">75</a> } <a class="jxr_linenumber" name="L76" href="#L76">76</a> -<a class="jxr_linenumber" name="L77" href="#L77">77</a> @Override -<a class="jxr_linenumber" name="L78" href="#L78">78</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testUnambiguousPartialLongOption4() <strong class="jxr_keyword">throws</strong> Exception +<a class="jxr_linenumber" name="L77" href="#L77">77</a> @Override @Test @Ignore(<span class="jxr_string">"not supported by the PosixParser"</span>) +<a class="jxr_linenumber" name="L78" href="#L78">78</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testAmbiguousPartialLongOption4() <strong class="jxr_keyword">throws</strong> Exception <a class="jxr_linenumber" name="L79" href="#L79">79</a> { -<a class="jxr_linenumber" name="L80" href="#L80">80</a> <em class="jxr_comment">// not supported by the PosixParser</em> -<a class="jxr_linenumber" name="L81" href="#L81">81</a> } -<a class="jxr_linenumber" name="L82" href="#L82">82</a> -<a class="jxr_linenumber" name="L83" href="#L83">83</a> @Override -<a class="jxr_linenumber" name="L84" href="#L84">84</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testAmbiguousPartialLongOption4() <strong class="jxr_keyword">throws</strong> Exception -<a class="jxr_linenumber" name="L85" href="#L85">85</a> { -<a class="jxr_linenumber" name="L86" href="#L86">86</a> <em class="jxr_comment">// not supported by the PosixParser</em> -<a class="jxr_linenumber" name="L87" href="#L87">87</a> } -<a class="jxr_linenumber" name="L88" href="#L88">88</a> } +<a class="jxr_linenumber" name="L80" href="#L80">80</a> } +<a class="jxr_linenumber" name="L81" href="#L81">81</a> } </pre> <hr/> -<div id="footer">Copyright © 2002–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +<div id="footer">Copyright © 2002–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> </body> -</html> +</html> \ No newline at end of file
Modified: websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/UtilTest.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/UtilTest.html (original) +++ websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/UtilTest.html Mon Mar 13 09:49:52 2017 @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>UtilTest xref</title> <link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" /> </head> @@ -53,6 +53,6 @@ <a class="jxr_linenumber" name="L45" href="#L45">45</a> } </pre> <hr/> -<div id="footer">Copyright © 2002–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +<div id="footer">Copyright © 2002–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> </body> -</html> +</html> \ No newline at end of file Modified: websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/ValueTest.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/ValueTest.html (original) +++ websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/ValueTest.html Mon Mar 13 09:49:52 2017 @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>ValueTest xref</title> <link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" /> </head> @@ -202,6 +202,6 @@ <a class="jxr_linenumber" name="L194" href="#L194">194</a> } </pre> <hr/> -<div id="footer">Copyright © 2002–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +<div id="footer">Copyright © 2002–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> </body> -</html> +</html> \ No newline at end of file Modified: websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/ValuesTest.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/ValuesTest.html (original) +++ websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/ValuesTest.html Mon Mar 13 09:49:52 2017 @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>ValuesTest xref</title> <link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" /> </head> @@ -182,6 +182,6 @@ <a class="jxr_linenumber" name="L174" href="#L174">174</a> } </pre> <hr/> -<div id="footer">Copyright © 2002–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +<div id="footer">Copyright © 2002–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> </body> -</html> +</html> \ No newline at end of file Modified: websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI133Test.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI133Test.html (original) +++ websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI133Test.html Mon Mar 13 09:49:52 2017 @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>BugCLI133Test xref</title> <link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /> </head> @@ -49,6 +49,6 @@ <a class="jxr_linenumber" name="L41" href="#L41">41</a> } </pre> <hr/> -<div id="footer">Copyright © 2002–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +<div id="footer">Copyright © 2002–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> </body> -</html> +</html> \ No newline at end of file Modified: websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI13Test.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI13Test.html (original) +++ websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI13Test.html Mon Mar 13 09:49:52 2017 @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>BugCLI13Test xref</title> <link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /> </head> @@ -62,6 +62,6 @@ <a class="jxr_linenumber" name="L54" href="#L54">54</a> } </pre> <hr/> -<div id="footer">Copyright © 2002–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +<div id="footer">Copyright © 2002–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> </body> -</html> +</html> \ No newline at end of file Modified: websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI148Test.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI148Test.html (original) +++ websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI148Test.html Mon Mar 13 09:49:52 2017 @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>BugCLI148Test xref</title> <link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /> </head> @@ -73,6 +73,6 @@ <a class="jxr_linenumber" name="L65" href="#L65">65</a> } </pre> <hr/> -<div id="footer">Copyright © 2002–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +<div id="footer">Copyright © 2002–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> </body> -</html> +</html> \ No newline at end of file Modified: websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI162Test.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI162Test.html (original) +++ websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI162Test.html Mon Mar 13 09:49:52 2017 @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>BugCLI162Test xref</title> <link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /> </head> @@ -371,6 +371,6 @@ <a class="jxr_linenumber" name="L363" href="#L363">363</a> } </pre> <hr/> -<div id="footer">Copyright © 2002–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +<div id="footer">Copyright © 2002–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> </body> -</html> +</html> \ No newline at end of file Modified: websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI18Test.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI18Test.html (original) +++ websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI18Test.html Mon Mar 13 09:49:52 2017 @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>BugCLI18Test xref</title> <link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /> </head> @@ -54,6 +54,6 @@ <a class="jxr_linenumber" name="L46" href="#L46">46</a> } </pre> <hr/> -<div id="footer">Copyright © 2002–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +<div id="footer">Copyright © 2002–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> </body> -</html> +</html> \ No newline at end of file Modified: websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI252Test.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI252Test.html (original) +++ websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI252Test.html Mon Mar 13 09:49:52 2017 @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>BugCLI252Test xref</title> <link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /> </head> @@ -25,31 +25,35 @@ <a class="jxr_linenumber" name="L17" href="#L17">17</a> <a class="jxr_linenumber" name="L18" href="#L18">18</a> <strong class="jxr_keyword">package</strong> org.apache.commons.cli.bug; <a class="jxr_linenumber" name="L19" href="#L19">19</a> -<a class="jxr_linenumber" name="L20" href="#L20">20</a> <strong class="jxr_keyword">import</strong> org.apache.commons.cli.*; -<a class="jxr_linenumber" name="L21" href="#L21">21</a> <strong class="jxr_keyword">import</strong> org.junit.Test; -<a class="jxr_linenumber" name="L22" href="#L22">22</a> -<a class="jxr_linenumber" name="L23" href="#L23">23</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/commons/cli/bug/BugCLI252Test.html">BugCLI252Test</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../../org/apache/commons/cli/DefaultParserTest.html">DefaultParserTest</a> { -<a class="jxr_linenumber" name="L24" href="#L24">24</a> -<a class="jxr_linenumber" name="L25" href="#L25">25</a> @Test -<a class="jxr_linenumber" name="L26" href="#L26">26</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testExactOptionNameMatch() <strong class="jxr_keyword">throws</strong> ParseException { -<a class="jxr_linenumber" name="L27" href="#L27">27</a> <strong class="jxr_keyword">new</strong> DefaultParser().parse(getOptions(), <strong class="jxr_keyword">new</strong> String[]{<span class="jxr_string">"--prefix"</span>}); -<a class="jxr_linenumber" name="L28" href="#L28">28</a> } -<a class="jxr_linenumber" name="L29" href="#L29">29</a> -<a class="jxr_linenumber" name="L30" href="#L30">30</a> @Test(expected = AmbiguousOptionException.<strong class="jxr_keyword">class</strong>) -<a class="jxr_linenumber" name="L31" href="#L31">31</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testAmbiquousOptionName() <strong class="jxr_keyword">throws</strong> ParseException { -<a class="jxr_linenumber" name="L32" href="#L32">32</a> <strong class="jxr_keyword">new</strong> DefaultParser().parse(getOptions(), <strong class="jxr_keyword">new</strong> String[]{<span class="jxr_string">"--pref"</span>}); -<a class="jxr_linenumber" name="L33" href="#L33">33</a> } -<a class="jxr_linenumber" name="L34" href="#L34">34</a> -<a class="jxr_linenumber" name="L35" href="#L35">35</a> <strong class="jxr_keyword">private</strong> Options getOptions() { -<a class="jxr_linenumber" name="L36" href="#L36">36</a> Options options = <strong class="jxr_keyword">new</strong> Options(); -<a class="jxr_linenumber" name="L37" href="#L37">37</a> options.addOption(Option.builder().longOpt(<span class="jxr_string">"prefix"</span>).build()); -<a class="jxr_linenumber" name="L38" href="#L38">38</a> options.addOption(Option.builder().longOpt(<span class="jxr_string">"prefixplusplus"</span>).build()); -<a class="jxr_linenumber" name="L39" href="#L39">39</a> <strong class="jxr_keyword">return</strong> options; -<a class="jxr_linenumber" name="L40" href="#L40">40</a> } -<a class="jxr_linenumber" name="L41" href="#L41">41</a> -<a class="jxr_linenumber" name="L42" href="#L42">42</a> } +<a class="jxr_linenumber" name="L20" href="#L20">20</a> <strong class="jxr_keyword">import</strong> org.apache.commons.cli.AmbiguousOptionException; +<a class="jxr_linenumber" name="L21" href="#L21">21</a> <strong class="jxr_keyword">import</strong> org.apache.commons.cli.DefaultParser; +<a class="jxr_linenumber" name="L22" href="#L22">22</a> <strong class="jxr_keyword">import</strong> org.apache.commons.cli.Option; +<a class="jxr_linenumber" name="L23" href="#L23">23</a> <strong class="jxr_keyword">import</strong> org.apache.commons.cli.Options; +<a class="jxr_linenumber" name="L24" href="#L24">24</a> <strong class="jxr_keyword">import</strong> org.apache.commons.cli.ParseException; +<a class="jxr_linenumber" name="L25" href="#L25">25</a> <strong class="jxr_keyword">import</strong> org.junit.Test; +<a class="jxr_linenumber" name="L26" href="#L26">26</a> +<a class="jxr_linenumber" name="L27" href="#L27">27</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/commons/cli/bug/BugCLI252Test.html">BugCLI252Test</a> { +<a class="jxr_linenumber" name="L28" href="#L28">28</a> +<a class="jxr_linenumber" name="L29" href="#L29">29</a> @Test +<a class="jxr_linenumber" name="L30" href="#L30">30</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testExactOptionNameMatch() <strong class="jxr_keyword">throws</strong> ParseException { +<a class="jxr_linenumber" name="L31" href="#L31">31</a> <strong class="jxr_keyword">new</strong> DefaultParser().parse(getOptions(), <strong class="jxr_keyword">new</strong> String[]{<span class="jxr_string">"--prefix"</span>}); +<a class="jxr_linenumber" name="L32" href="#L32">32</a> } +<a class="jxr_linenumber" name="L33" href="#L33">33</a> +<a class="jxr_linenumber" name="L34" href="#L34">34</a> @Test(expected = AmbiguousOptionException.<strong class="jxr_keyword">class</strong>) +<a class="jxr_linenumber" name="L35" href="#L35">35</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testAmbiquousOptionName() <strong class="jxr_keyword">throws</strong> ParseException { +<a class="jxr_linenumber" name="L36" href="#L36">36</a> <strong class="jxr_keyword">new</strong> DefaultParser().parse(getOptions(), <strong class="jxr_keyword">new</strong> String[]{<span class="jxr_string">"--pref"</span>}); +<a class="jxr_linenumber" name="L37" href="#L37">37</a> } +<a class="jxr_linenumber" name="L38" href="#L38">38</a> +<a class="jxr_linenumber" name="L39" href="#L39">39</a> <strong class="jxr_keyword">private</strong> Options getOptions() { +<a class="jxr_linenumber" name="L40" href="#L40">40</a> Options options = <strong class="jxr_keyword">new</strong> Options(); +<a class="jxr_linenumber" name="L41" href="#L41">41</a> options.addOption(Option.builder().longOpt(<span class="jxr_string">"prefix"</span>).build()); +<a class="jxr_linenumber" name="L42" href="#L42">42</a> options.addOption(Option.builder().longOpt(<span class="jxr_string">"prefixplusplus"</span>).build()); +<a class="jxr_linenumber" name="L43" href="#L43">43</a> <strong class="jxr_keyword">return</strong> options; +<a class="jxr_linenumber" name="L44" href="#L44">44</a> } +<a class="jxr_linenumber" name="L45" href="#L45">45</a> +<a class="jxr_linenumber" name="L46" href="#L46">46</a> } </pre> <hr/> -<div id="footer">Copyright © 2002–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +<div id="footer">Copyright © 2002–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> </body> -</html> +</html> \ No newline at end of file Added: websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI265Test.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI265Test.html (added) +++ websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI265Test.html Mon Mar 13 09:49:52 2017 @@ -0,0 +1,101 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>BugCLI265Test xref</title> +<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /> +</head> +<body> +<div id="overview"><a href="../../../../../../testapidocs/org/apache/commons/cli/bug/BugCLI265Test.html">View Javadoc</a></div><pre> +<a class="jxr_linenumber" name="L1" href="#L1">1</a> <em class="jxr_comment">/*</em> +<a class="jxr_linenumber" name="L2" href="#L2">2</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em> +<a class="jxr_linenumber" name="L3" href="#L3">3</a> <em class="jxr_comment"> * contributor license agreements. See the NOTICE file distributed with</em> +<a class="jxr_linenumber" name="L4" href="#L4">4</a> <em class="jxr_comment"> * this work for additional information regarding copyright ownership.</em> +<a class="jxr_linenumber" name="L5" href="#L5">5</a> <em class="jxr_comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em> +<a class="jxr_linenumber" name="L6" href="#L6">6</a> <em class="jxr_comment"> * (the "License"); you may not use this file except in compliance with</em> +<a class="jxr_linenumber" name="L7" href="#L7">7</a> <em class="jxr_comment"> * the License. You may obtain a copy of the License at</em> +<a class="jxr_linenumber" name="L8" href="#L8">8</a> <em class="jxr_comment"> *</em> +<a class="jxr_linenumber" name="L9" href="#L9">9</a> <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em> +<a class="jxr_linenumber" name="L10" href="#L10">10</a> <em class="jxr_comment"> *</em> +<a class="jxr_linenumber" name="L11" href="#L11">11</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em> +<a class="jxr_linenumber" name="L12" href="#L12">12</a> <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em> +<a class="jxr_linenumber" name="L13" href="#L13">13</a> <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em> +<a class="jxr_linenumber" name="L14" href="#L14">14</a> <em class="jxr_comment"> * See the License for the specific language governing permissions and</em> +<a class="jxr_linenumber" name="L15" href="#L15">15</a> <em class="jxr_comment"> * limitations under the License.</em> +<a class="jxr_linenumber" name="L16" href="#L16">16</a> <em class="jxr_comment"> */</em> +<a class="jxr_linenumber" name="L17" href="#L17">17</a> +<a class="jxr_linenumber" name="L18" href="#L18">18</a> <strong class="jxr_keyword">package</strong> org.apache.commons.cli.bug; +<a class="jxr_linenumber" name="L19" href="#L19">19</a> +<a class="jxr_linenumber" name="L20" href="#L20">20</a> <strong class="jxr_keyword">import</strong> org.apache.commons.cli.CommandLine; +<a class="jxr_linenumber" name="L21" href="#L21">21</a> <strong class="jxr_keyword">import</strong> org.apache.commons.cli.DefaultParser; +<a class="jxr_linenumber" name="L22" href="#L22">22</a> <strong class="jxr_keyword">import</strong> org.apache.commons.cli.Option; +<a class="jxr_linenumber" name="L23" href="#L23">23</a> <strong class="jxr_keyword">import</strong> org.apache.commons.cli.Options; +<a class="jxr_linenumber" name="L24" href="#L24">24</a> <strong class="jxr_keyword">import</strong> org.junit.Before; +<a class="jxr_linenumber" name="L25" href="#L25">25</a> <strong class="jxr_keyword">import</strong> org.junit.Test; +<a class="jxr_linenumber" name="L26" href="#L26">26</a> +<a class="jxr_linenumber" name="L27" href="#L27">27</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertEquals; +<a class="jxr_linenumber" name="L28" href="#L28">28</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertFalse; +<a class="jxr_linenumber" name="L29" href="#L29">29</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertNotEquals; +<a class="jxr_linenumber" name="L30" href="#L30">30</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertNull; +<a class="jxr_linenumber" name="L31" href="#L31">31</a> <strong class="jxr_keyword">import</strong> <strong class="jxr_keyword">static</strong> org.junit.Assert.assertTrue; +<a class="jxr_linenumber" name="L32" href="#L32">32</a> +<a class="jxr_linenumber" name="L33" href="#L33">33</a> <em class="jxr_javadoccomment">/**</em> +<a class="jxr_linenumber" name="L34" href="#L34">34</a> <em class="jxr_javadoccomment"> * Test for CLI-265.</em> +<a class="jxr_linenumber" name="L35" href="#L35">35</a> <em class="jxr_javadoccomment"> * <p></em> +<a class="jxr_linenumber" name="L36" href="#L36">36</a> <em class="jxr_javadoccomment"> * The issue is that a short option with an optional value will use whatever comes next as value.</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> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/commons/cli/bug/BugCLI265Test.html">BugCLI265Test</a> { +<a class="jxr_linenumber" name="L39" href="#L39">39</a> +<a class="jxr_linenumber" name="L40" href="#L40">40</a> <strong class="jxr_keyword">private</strong> DefaultParser parser; +<a class="jxr_linenumber" name="L41" href="#L41">41</a> <strong class="jxr_keyword">private</strong> Options options; +<a class="jxr_linenumber" name="L42" href="#L42">42</a> +<a class="jxr_linenumber" name="L43" href="#L43">43</a> @Before +<a class="jxr_linenumber" name="L44" href="#L44">44</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setUp() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L45" href="#L45">45</a> parser = <strong class="jxr_keyword">new</strong> DefaultParser(); +<a class="jxr_linenumber" name="L46" href="#L46">46</a> +<a class="jxr_linenumber" name="L47" href="#L47">47</a> Option optionT1 = Option.builder(<span class="jxr_string">"t1"</span>).hasArg().numberOfArgs(1).optionalArg(<strong class="jxr_keyword">true</strong>).argName(<span class="jxr_string">"t1_path"</span>).build(); +<a class="jxr_linenumber" name="L48" href="#L48">48</a> Option optionA = Option.builder(<span class="jxr_string">"a"</span>).hasArg(false).build(); +<a class="jxr_linenumber" name="L49" href="#L49">49</a> Option optionB = Option.builder(<span class="jxr_string">"b"</span>).hasArg(false).build(); +<a class="jxr_linenumber" name="L50" href="#L50">50</a> Option optionLast = Option.builder(<span class="jxr_string">"last"</span>).hasArg(false).build(); +<a class="jxr_linenumber" name="L51" href="#L51">51</a> +<a class="jxr_linenumber" name="L52" href="#L52">52</a> options = <strong class="jxr_keyword">new</strong> Options().addOption(optionT1).addOption(optionA).addOption(optionB).addOption(optionLast); +<a class="jxr_linenumber" name="L53" href="#L53">53</a> } +<a class="jxr_linenumber" name="L54" href="#L54">54</a> +<a class="jxr_linenumber" name="L55" href="#L55">55</a> @Test +<a class="jxr_linenumber" name="L56" href="#L56">56</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> shouldParseShortOptionWithValue() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L57" href="#L57">57</a> String[] shortOptionWithValue = <strong class="jxr_keyword">new</strong> String[]{<span class="jxr_string">"-t1"</span>, <span class="jxr_string">"path/to/my/db"</span>}; +<a class="jxr_linenumber" name="L58" href="#L58">58</a> +<a class="jxr_linenumber" name="L59" href="#L59">59</a> <strong class="jxr_keyword">final</strong> CommandLine commandLine = parser.parse(options, shortOptionWithValue); +<a class="jxr_linenumber" name="L60" href="#L60">60</a> +<a class="jxr_linenumber" name="L61" href="#L61">61</a> assertEquals(<span class="jxr_string">"path/to/my/db"</span>, commandLine.getOptionValue(<span class="jxr_string">"t1"</span>)); +<a class="jxr_linenumber" name="L62" href="#L62">62</a> assertFalse(commandLine.hasOption(<span class="jxr_string">"last"</span>)); +<a class="jxr_linenumber" name="L63" href="#L63">63</a> } +<a class="jxr_linenumber" name="L64" href="#L64">64</a> +<a class="jxr_linenumber" name="L65" href="#L65">65</a> @Test +<a class="jxr_linenumber" name="L66" href="#L66">66</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> shouldParseShortOptionWithoutValue() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L67" href="#L67">67</a> String[] twoShortOptions = <strong class="jxr_keyword">new</strong> String[]{<span class="jxr_string">"-t1"</span>, <span class="jxr_string">"-last"</span>}; +<a class="jxr_linenumber" name="L68" href="#L68">68</a> +<a class="jxr_linenumber" name="L69" href="#L69">69</a> <strong class="jxr_keyword">final</strong> CommandLine commandLine = parser.parse(options, twoShortOptions); +<a class="jxr_linenumber" name="L70" href="#L70">70</a> +<a class="jxr_linenumber" name="L71" href="#L71">71</a> assertTrue(commandLine.hasOption(<span class="jxr_string">"t1"</span>)); +<a class="jxr_linenumber" name="L72" href="#L72">72</a> assertNotEquals(<span class="jxr_string">"Second option has been used as value for first option"</span>, <span class="jxr_string">"-last"</span>, commandLine.getOptionValue(<span class="jxr_string">"t1"</span>)); +<a class="jxr_linenumber" name="L73" href="#L73">73</a> assertTrue(<span class="jxr_string">"Second option has not been detected"</span>, commandLine.hasOption(<span class="jxr_string">"last"</span>)); +<a class="jxr_linenumber" name="L74" href="#L74">74</a> } +<a class="jxr_linenumber" name="L75" href="#L75">75</a> +<a class="jxr_linenumber" name="L76" href="#L76">76</a> @Test +<a class="jxr_linenumber" name="L77" href="#L77">77</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> shouldParseConcatenatedShortOptions() <strong class="jxr_keyword">throws</strong> Exception { +<a class="jxr_linenumber" name="L78" href="#L78">78</a> String[] concatenatedShortOptions = <strong class="jxr_keyword">new</strong> String[] { <span class="jxr_string">"-t1"</span>, <span class="jxr_string">"-ab"</span> }; +<a class="jxr_linenumber" name="L79" href="#L79">79</a> +<a class="jxr_linenumber" name="L80" href="#L80">80</a> <strong class="jxr_keyword">final</strong> CommandLine commandLine = parser.parse(options, concatenatedShortOptions); +<a class="jxr_linenumber" name="L81" href="#L81">81</a> +<a class="jxr_linenumber" name="L82" href="#L82">82</a> assertTrue(commandLine.hasOption(<span class="jxr_string">"t1"</span>)); +<a class="jxr_linenumber" name="L83" href="#L83">83</a> assertNull(commandLine.getOptionValue(<span class="jxr_string">"t1"</span>)); +<a class="jxr_linenumber" name="L84" href="#L84">84</a> assertTrue(commandLine.hasOption(<span class="jxr_string">"a"</span>)); +<a class="jxr_linenumber" name="L85" href="#L85">85</a> assertTrue(commandLine.hasOption(<span class="jxr_string">"b"</span>)); +<a class="jxr_linenumber" name="L86" href="#L86">86</a> assertFalse(commandLine.hasOption(<span class="jxr_string">"last"</span>)); +<a class="jxr_linenumber" name="L87" href="#L87">87</a> } +<a class="jxr_linenumber" name="L88" href="#L88">88</a> } +</pre> +<hr/> +<div id="footer">Copyright © 2002–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +</body> +</html> \ No newline at end of file Added: websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI266Test.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI266Test.html (added) +++ websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI266Test.html Mon Mar 13 09:49:52 2017 @@ -0,0 +1,134 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> +<title>BugCLI266Test xref</title> +<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /> +</head> +<body> +<div id="overview"><a href="../../../../../../testapidocs/org/apache/commons/cli/bug/BugCLI266Test.html">View Javadoc</a></div><pre> +<a class="jxr_linenumber" name="L1" href="#L1">1</a> <em class="jxr_comment">/*</em> +<a class="jxr_linenumber" name="L2" href="#L2">2</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em> +<a class="jxr_linenumber" name="L3" href="#L3">3</a> <em class="jxr_comment"> * contributor license agreements. See the NOTICE file distributed with</em> +<a class="jxr_linenumber" name="L4" href="#L4">4</a> <em class="jxr_comment"> * this work for additional information regarding copyright ownership.</em> +<a class="jxr_linenumber" name="L5" href="#L5">5</a> <em class="jxr_comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em> +<a class="jxr_linenumber" name="L6" href="#L6">6</a> <em class="jxr_comment"> * (the "License"); you may not use this file except in compliance with</em> +<a class="jxr_linenumber" name="L7" href="#L7">7</a> <em class="jxr_comment"> * the License. You may obtain a copy of the License at</em> +<a class="jxr_linenumber" name="L8" href="#L8">8</a> <em class="jxr_comment"> *</em> +<a class="jxr_linenumber" name="L9" href="#L9">9</a> <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em> +<a class="jxr_linenumber" name="L10" href="#L10">10</a> <em class="jxr_comment"> *</em> +<a class="jxr_linenumber" name="L11" href="#L11">11</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em> +<a class="jxr_linenumber" name="L12" href="#L12">12</a> <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em> +<a class="jxr_linenumber" name="L13" href="#L13">13</a> <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em> +<a class="jxr_linenumber" name="L14" href="#L14">14</a> <em class="jxr_comment"> * See the License for the specific language governing permissions and</em> +<a class="jxr_linenumber" name="L15" href="#L15">15</a> <em class="jxr_comment"> * limitations under the License.</em> +<a class="jxr_linenumber" name="L16" href="#L16">16</a> <em class="jxr_comment"> */</em> +<a class="jxr_linenumber" name="L17" href="#L17">17</a> +<a class="jxr_linenumber" name="L18" href="#L18">18</a> <strong class="jxr_keyword">package</strong> org.apache.commons.cli.bug; +<a class="jxr_linenumber" name="L19" href="#L19">19</a> +<a class="jxr_linenumber" name="L20" href="#L20">20</a> <strong class="jxr_keyword">import</strong> org.apache.commons.cli.HelpFormatter; +<a class="jxr_linenumber" name="L21" href="#L21">21</a> <strong class="jxr_keyword">import</strong> org.apache.commons.cli.Option; +<a class="jxr_linenumber" name="L22" href="#L22">22</a> <strong class="jxr_keyword">import</strong> org.apache.commons.cli.OptionGroup; +<a class="jxr_linenumber" name="L23" href="#L23">23</a> <strong class="jxr_keyword">import</strong> org.apache.commons.cli.Options; +<a class="jxr_linenumber" name="L24" href="#L24">24</a> <strong class="jxr_keyword">import</strong> org.apache.commons.cli.ParseException; +<a class="jxr_linenumber" name="L25" href="#L25">25</a> <strong class="jxr_keyword">import</strong> org.junit.Assert; +<a class="jxr_linenumber" name="L26" href="#L26">26</a> <strong class="jxr_keyword">import</strong> org.junit.Test; +<a class="jxr_linenumber" name="L27" href="#L27">27</a> +<a class="jxr_linenumber" name="L28" href="#L28">28</a> <strong class="jxr_keyword">import</strong> java.util.ArrayList; +<a class="jxr_linenumber" name="L29" href="#L29">29</a> <strong class="jxr_keyword">import</strong> java.util.Arrays; +<a class="jxr_linenumber" name="L30" href="#L30">30</a> <strong class="jxr_keyword">import</strong> java.util.Collection; +<a class="jxr_linenumber" name="L31" href="#L31">31</a> <strong class="jxr_keyword">import</strong> java.util.Collections; +<a class="jxr_linenumber" name="L32" href="#L32">32</a> <strong class="jxr_keyword">import</strong> java.util.List; +<a class="jxr_linenumber" name="L33" href="#L33">33</a> +<a class="jxr_linenumber" name="L34" href="#L34">34</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/commons/cli/bug/BugCLI266Test.html">BugCLI266Test</a> { +<a class="jxr_linenumber" name="L35" href="#L35">35</a> +<a class="jxr_linenumber" name="L36" href="#L36">36</a> <strong class="jxr_keyword">private</strong> List<String> insertedOrder = Arrays.asList(<span class="jxr_string">"h"</span>, <span class="jxr_string">"d"</span>, <span class="jxr_string">"f"</span>, <span class="jxr_string">"x"</span>, <span class="jxr_string">"s"</span>, <span class="jxr_string">"p"</span>, <span class="jxr_string">"t"</span>, <span class="jxr_string">"w"</span>, <span class="jxr_string">"o"</span>); +<a class="jxr_linenumber" name="L37" href="#L37">37</a> <strong class="jxr_keyword">private</strong> List<String> sortOrder = Arrays.asList(<span class="jxr_string">"d"</span>, <span class="jxr_string">"f"</span>, <span class="jxr_string">"h"</span>, <span class="jxr_string">"o"</span>, <span class="jxr_string">"p"</span>, <span class="jxr_string">"s"</span>, <span class="jxr_string">"t"</span>, <span class="jxr_string">"w"</span>, <span class="jxr_string">"x"</span>); +<a class="jxr_linenumber" name="L38" href="#L38">38</a> +<a class="jxr_linenumber" name="L39" href="#L39">39</a> @Test +<a class="jxr_linenumber" name="L40" href="#L40">40</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testOptionComparatorDefaultOrder() <strong class="jxr_keyword">throws</strong> ParseException { +<a class="jxr_linenumber" name="L41" href="#L41">41</a> HelpFormatter formatter = <strong class="jxr_keyword">new</strong> HelpFormatter(); +<a class="jxr_linenumber" name="L42" href="#L42">42</a> List<Option> options = <strong class="jxr_keyword">new</strong> ArrayList<Option>(getOptions().getOptions()); +<a class="jxr_linenumber" name="L43" href="#L43">43</a> Collections.sort(options, formatter.getOptionComparator()); +<a class="jxr_linenumber" name="L44" href="#L44">44</a> <strong class="jxr_keyword">int</strong> i = 0; +<a class="jxr_linenumber" name="L45" href="#L45">45</a> <strong class="jxr_keyword">for</strong>(Option o: options) { +<a class="jxr_linenumber" name="L46" href="#L46">46</a> Assert.assertEquals(o.getOpt(), sortOrder.get(i)); +<a class="jxr_linenumber" name="L47" href="#L47">47</a> i++; +<a class="jxr_linenumber" name="L48" href="#L48">48</a> } +<a class="jxr_linenumber" name="L49" href="#L49">49</a> } +<a class="jxr_linenumber" name="L50" href="#L50">50</a> +<a class="jxr_linenumber" name="L51" href="#L51">51</a> @Test +<a class="jxr_linenumber" name="L52" href="#L52">52</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testOptionComparatorInsertedOrder() <strong class="jxr_keyword">throws</strong> ParseException { +<a class="jxr_linenumber" name="L53" href="#L53">53</a> Collection<Option> options = getOptions().getOptions(); +<a class="jxr_linenumber" name="L54" href="#L54">54</a> <strong class="jxr_keyword">int</strong> i = 0; +<a class="jxr_linenumber" name="L55" href="#L55">55</a> <strong class="jxr_keyword">for</strong>(Option o: options) { +<a class="jxr_linenumber" name="L56" href="#L56">56</a> Assert.assertEquals(o.getOpt(), insertedOrder.get(i)); +<a class="jxr_linenumber" name="L57" href="#L57">57</a> i++; +<a class="jxr_linenumber" name="L58" href="#L58">58</a> } +<a class="jxr_linenumber" name="L59" href="#L59">59</a> } +<a class="jxr_linenumber" name="L60" href="#L60">60</a> +<a class="jxr_linenumber" name="L61" href="#L61">61</a> <strong class="jxr_keyword">private</strong> Options getOptions() { +<a class="jxr_linenumber" name="L62" href="#L62">62</a> Options options = <strong class="jxr_keyword">new</strong> Options(); +<a class="jxr_linenumber" name="L63" href="#L63">63</a> Option help = Option.builder(<span class="jxr_string">"h"</span>) +<a class="jxr_linenumber" name="L64" href="#L64">64</a> .longOpt(<span class="jxr_string">"help"</span>) +<a class="jxr_linenumber" name="L65" href="#L65">65</a> .desc(<span class="jxr_string">"Prints this help message"</span>) +<a class="jxr_linenumber" name="L66" href="#L66">66</a> .build(); +<a class="jxr_linenumber" name="L67" href="#L67">67</a> options.addOption(help); +<a class="jxr_linenumber" name="L68" href="#L68">68</a> +<a class="jxr_linenumber" name="L69" href="#L69">69</a> buildOptionsGroup(options); +<a class="jxr_linenumber" name="L70" href="#L70">70</a> +<a class="jxr_linenumber" name="L71" href="#L71">71</a> Option t = Option.builder(<span class="jxr_string">"t"</span>) +<a class="jxr_linenumber" name="L72" href="#L72">72</a> .required() +<a class="jxr_linenumber" name="L73" href="#L73">73</a> .hasArg() +<a class="jxr_linenumber" name="L74" href="#L74">74</a> .argName(<span class="jxr_string">"file"</span>) +<a class="jxr_linenumber" name="L75" href="#L75">75</a> .build(); +<a class="jxr_linenumber" name="L76" href="#L76">76</a> Option w = Option.builder(<span class="jxr_string">"w"</span>) +<a class="jxr_linenumber" name="L77" href="#L77">77</a> .required() +<a class="jxr_linenumber" name="L78" href="#L78">78</a> .hasArg() +<a class="jxr_linenumber" name="L79" href="#L79">79</a> .argName(<span class="jxr_string">"word"</span>) +<a class="jxr_linenumber" name="L80" href="#L80">80</a> .build(); +<a class="jxr_linenumber" name="L81" href="#L81">81</a> Option o = Option.builder(<span class="jxr_string">"o"</span>) +<a class="jxr_linenumber" name="L82" href="#L82">82</a> .hasArg() +<a class="jxr_linenumber" name="L83" href="#L83">83</a> .argName(<span class="jxr_string">"directory"</span>) +<a class="jxr_linenumber" name="L84" href="#L84">84</a> .build(); +<a class="jxr_linenumber" name="L85" href="#L85">85</a> options.addOption(t); +<a class="jxr_linenumber" name="L86" href="#L86">86</a> options.addOption(w); +<a class="jxr_linenumber" name="L87" href="#L87">87</a> options.addOption(o); +<a class="jxr_linenumber" name="L88" href="#L88">88</a> <strong class="jxr_keyword">return</strong> options; +<a class="jxr_linenumber" name="L89" href="#L89">89</a> } +<a class="jxr_linenumber" name="L90" href="#L90">90</a> +<a class="jxr_linenumber" name="L91" href="#L91">91</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> buildOptionsGroup(Options options) { +<a class="jxr_linenumber" name="L92" href="#L92">92</a> OptionGroup firstGroup = <strong class="jxr_keyword">new</strong> OptionGroup(); +<a class="jxr_linenumber" name="L93" href="#L93">93</a> OptionGroup secondGroup = <strong class="jxr_keyword">new</strong> OptionGroup(); +<a class="jxr_linenumber" name="L94" href="#L94">94</a> firstGroup.setRequired(<strong class="jxr_keyword">true</strong>); +<a class="jxr_linenumber" name="L95" href="#L95">95</a> secondGroup.setRequired(<strong class="jxr_keyword">true</strong>); +<a class="jxr_linenumber" name="L96" href="#L96">96</a> +<a class="jxr_linenumber" name="L97" href="#L97">97</a> firstGroup.addOption(Option.builder(<span class="jxr_string">"d"</span>) +<a class="jxr_linenumber" name="L98" href="#L98">98</a> .longOpt(<span class="jxr_string">"db"</span>) +<a class="jxr_linenumber" name="L99" href="#L99">99</a> .hasArg() +<a class="jxr_linenumber" name="L100" href="#L100">100</a> .argName(<span class="jxr_string">"table-name"</span>) +<a class="jxr_linenumber" name="L101" href="#L101">101</a> .build()); +<a class="jxr_linenumber" name="L102" href="#L102">102</a> firstGroup.addOption(Option.builder(<span class="jxr_string">"f"</span>) +<a class="jxr_linenumber" name="L103" href="#L103">103</a> .longOpt(<span class="jxr_string">"flat-file"</span>) +<a class="jxr_linenumber" name="L104" href="#L104">104</a> .hasArg() +<a class="jxr_linenumber" name="L105" href="#L105">105</a> .argName(<span class="jxr_string">"input.csv"</span>) +<a class="jxr_linenumber" name="L106" href="#L106">106</a> .build()); +<a class="jxr_linenumber" name="L107" href="#L107">107</a> options.addOptionGroup(firstGroup); +<a class="jxr_linenumber" name="L108" href="#L108">108</a> +<a class="jxr_linenumber" name="L109" href="#L109">109</a> secondGroup.addOption(Option.builder(<span class="jxr_string">"x"</span>) +<a class="jxr_linenumber" name="L110" href="#L110">110</a> .hasArg() +<a class="jxr_linenumber" name="L111" href="#L111">111</a> .argName(<span class="jxr_string">"arg1"</span>) +<a class="jxr_linenumber" name="L112" href="#L112">112</a> .build()); +<a class="jxr_linenumber" name="L113" href="#L113">113</a> secondGroup.addOption(Option.builder(<span class="jxr_string">"s"</span>) +<a class="jxr_linenumber" name="L114" href="#L114">114</a> .build()); +<a class="jxr_linenumber" name="L115" href="#L115">115</a> secondGroup.addOption(Option.builder(<span class="jxr_string">"p"</span>) +<a class="jxr_linenumber" name="L116" href="#L116">116</a> .hasArg() +<a class="jxr_linenumber" name="L117" href="#L117">117</a> .argName(<span class="jxr_string">"arg1"</span>) +<a class="jxr_linenumber" name="L118" href="#L118">118</a> .build()); +<a class="jxr_linenumber" name="L119" href="#L119">119</a> options.addOptionGroup(secondGroup); +<a class="jxr_linenumber" name="L120" href="#L120">120</a> } +<a class="jxr_linenumber" name="L121" href="#L121">121</a> } +</pre> +<hr/> +<div id="footer">Copyright © 2002–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +</body> +</html> \ No newline at end of file Modified: websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI71Test.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI71Test.html (original) +++ websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugCLI71Test.html Mon Mar 13 09:49:52 2017 @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>BugCLI71Test xref</title> <link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /> </head> @@ -100,6 +100,6 @@ <a class="jxr_linenumber" name="L92" href="#L92">92</a> } </pre> <hr/> -<div id="footer">Copyright © 2002–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +<div id="footer">Copyright © 2002–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> </body> -</html> +</html> \ No newline at end of file Modified: websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugsTest.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugsTest.html (original) +++ websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/BugsTest.html Mon Mar 13 09:49:52 2017 @@ -1,27 +1,27 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>BugsTest xref</title> <link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /> </head> <body> <div id="overview"><a href="../../../../../../testapidocs/org/apache/commons/cli/bug/BugsTest.html">View Javadoc</a></div><pre> -<a class="jxr_linenumber" name="L1" href="#L1">1</a> <em class="jxr_javadoccomment">/**</em> -<a class="jxr_linenumber" name="L2" href="#L2">2</a> <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em> -<a class="jxr_linenumber" name="L3" href="#L3">3</a> <em class="jxr_javadoccomment"> * contributor license agreements. See the NOTICE file distributed with</em> -<a class="jxr_linenumber" name="L4" href="#L4">4</a> <em class="jxr_javadoccomment"> * this work for additional information regarding copyright ownership.</em> -<a class="jxr_linenumber" name="L5" href="#L5">5</a> <em class="jxr_javadoccomment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em> -<a class="jxr_linenumber" name="L6" href="#L6">6</a> <em class="jxr_javadoccomment"> * (the "License"); you may not use this file except in compliance with</em> -<a class="jxr_linenumber" name="L7" href="#L7">7</a> <em class="jxr_javadoccomment"> * the License. You may obtain a copy of the License at</em> -<a class="jxr_linenumber" name="L8" href="#L8">8</a> <em class="jxr_javadoccomment"> *</em> -<a class="jxr_linenumber" name="L9" href="#L9">9</a> <em class="jxr_javadoccomment"> * <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em> -<a class="jxr_linenumber" name="L10" href="#L10">10</a> <em class="jxr_javadoccomment"> *</em> -<a class="jxr_linenumber" name="L11" href="#L11">11</a> <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing, software</em> -<a class="jxr_linenumber" name="L12" href="#L12">12</a> <em class="jxr_javadoccomment"> * distributed under the License is distributed on an "AS IS" BASIS,</em> -<a class="jxr_linenumber" name="L13" href="#L13">13</a> <em class="jxr_javadoccomment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em> -<a class="jxr_linenumber" name="L14" href="#L14">14</a> <em class="jxr_javadoccomment"> * See the License for the specific language governing permissions and</em> -<a class="jxr_linenumber" name="L15" href="#L15">15</a> <em class="jxr_javadoccomment"> * limitations under the License.</em> -<a class="jxr_linenumber" name="L16" href="#L16">16</a> <em class="jxr_javadoccomment"> */</em> +<a class="jxr_linenumber" name="L1" href="#L1">1</a> <em class="jxr_comment">/*</em> +<a class="jxr_linenumber" name="L2" href="#L2">2</a> <em class="jxr_comment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em> +<a class="jxr_linenumber" name="L3" href="#L3">3</a> <em class="jxr_comment"> * contributor license agreements. See the NOTICE file distributed with</em> +<a class="jxr_linenumber" name="L4" href="#L4">4</a> <em class="jxr_comment"> * this work for additional information regarding copyright ownership.</em> +<a class="jxr_linenumber" name="L5" href="#L5">5</a> <em class="jxr_comment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em> +<a class="jxr_linenumber" name="L6" href="#L6">6</a> <em class="jxr_comment"> * (the "License"); you may not use this file except in compliance with</em> +<a class="jxr_linenumber" name="L7" href="#L7">7</a> <em class="jxr_comment"> * the License. You may obtain a copy of the License at</em> +<a class="jxr_linenumber" name="L8" href="#L8">8</a> <em class="jxr_comment"> *</em> +<a class="jxr_linenumber" name="L9" href="#L9">9</a> <em class="jxr_comment"> * <a href="http://www.apache.org/licenses/LICENSE-2." target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.</a>0</em> +<a class="jxr_linenumber" name="L10" href="#L10">10</a> <em class="jxr_comment"> *</em> +<a class="jxr_linenumber" name="L11" href="#L11">11</a> <em class="jxr_comment"> * Unless required by applicable law or agreed to in writing, software</em> +<a class="jxr_linenumber" name="L12" href="#L12">12</a> <em class="jxr_comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em> +<a class="jxr_linenumber" name="L13" href="#L13">13</a> <em class="jxr_comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em> +<a class="jxr_linenumber" name="L14" href="#L14">14</a> <em class="jxr_comment"> * See the License for the specific language governing permissions and</em> +<a class="jxr_linenumber" name="L15" href="#L15">15</a> <em class="jxr_comment"> * limitations under the License.</em> +<a class="jxr_linenumber" name="L16" href="#L16">16</a> <em class="jxr_comment"> */</em> <a class="jxr_linenumber" name="L17" href="#L17">17</a> <a class="jxr_linenumber" name="L18" href="#L18">18</a> <strong class="jxr_keyword">package</strong> org.apache.commons.cli.bug; <a class="jxr_linenumber" name="L19" href="#L19">19</a> @@ -385,6 +385,6 @@ <a class="jxr_linenumber" name="L377" href="#L377">377</a> } </pre> <hr/> -<div id="footer">Copyright © 2002–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +<div id="footer">Copyright © 2002–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> </body> -</html> +</html> \ No newline at end of file Modified: websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/package-frame.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/package-frame.html (original) +++ websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/package-frame.html Mon Mar 13 09:49:52 2017 @@ -2,8 +2,8 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" lang="en"> <head> - <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> - <title>Apache Commons CLI 1.4-SNAPSHOT Reference Package org.apache.commons.cli.bug</title> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <title>Apache Commons CLI 1.4 Reference Package org.apache.commons.cli.bug</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" /> </head> <body> @@ -34,6 +34,12 @@ <a href="BugCLI252Test.html" target="classFrame">BugCLI252Test</a> </li> <li> + <a href="BugCLI265Test.html" target="classFrame">BugCLI265Test</a> + </li> + <li> + <a href="BugCLI266Test.html" target="classFrame">BugCLI266Test</a> + </li> + <li> <a href="BugCLI71Test.html" target="classFrame">BugCLI71Test</a> </li> <li> Modified: websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/package-summary.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/package-summary.html (original) +++ websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/bug/package-summary.html Mon Mar 13 09:49:52 2017 @@ -2,8 +2,8 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" lang="en"> <head> - <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> - <title>Apache Commons CLI 1.4-SNAPSHOT Reference Package org.apache.commons.cli.bug</title> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <title>Apache Commons CLI 1.4 Reference Package org.apache.commons.cli.bug</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" /> </head> <body> @@ -67,6 +67,16 @@ </tr> <tr> <td> + <a href="BugCLI265Test.html" target="classFrame">BugCLI265Test</a> + </td> + </tr> + <tr> + <td> + <a href="BugCLI266Test.html" target="classFrame">BugCLI266Test</a> + </td> + </tr> + <tr> + <td> <a href="BugCLI71Test.html" target="classFrame">BugCLI71Test</a> </td> </tr> @@ -98,7 +108,7 @@ </div> <hr /> <div id="footer"> - Copyright © 2002–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. + Copyright © 2002–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. </div> </body> </html> \ No newline at end of file Modified: websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/package-frame.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/package-frame.html (original) +++ websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/package-frame.html Mon Mar 13 09:49:52 2017 @@ -2,8 +2,8 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" lang="en"> <head> - <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> - <title>Apache Commons CLI 1.4-SNAPSHOT Reference Package org.apache.commons.cli</title> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <title>Apache Commons CLI 1.4 Reference Package org.apache.commons.cli</title> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="style" /> </head> <body> Modified: websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/package-summary.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/package-summary.html (original) +++ websites/production/commons/content/proper/commons-cli/xref-test/org/apache/commons/cli/package-summary.html Mon Mar 13 09:49:52 2017 @@ -2,8 +2,8 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" lang="en"> <head> - <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> - <title>Apache Commons CLI 1.4-SNAPSHOT Reference Package org.apache.commons.cli</title> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <title>Apache Commons CLI 1.4 Reference Package org.apache.commons.cli</title> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="style" /> </head> <body> @@ -153,7 +153,7 @@ </div> <hr /> <div id="footer"> - Copyright © 2002–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. + Copyright © 2002–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. </div> </body> </html> \ No newline at end of file Modified: websites/production/commons/content/proper/commons-cli/xref-test/overview-frame.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/overview-frame.html (original) +++ websites/production/commons/content/proper/commons-cli/xref-test/overview-frame.html Mon Mar 13 09:49:52 2017 @@ -2,8 +2,8 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" lang="en"> <head> - <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> - <title>Apache Commons CLI 1.4-SNAPSHOT Reference</title> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <title>Apache Commons CLI 1.4 Reference</title> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" /> </head> <body> @@ -25,4 +25,3 @@ </body> </html> - Modified: websites/production/commons/content/proper/commons-cli/xref-test/overview-summary.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/overview-summary.html (original) +++ websites/production/commons/content/proper/commons-cli/xref-test/overview-summary.html Mon Mar 13 09:49:52 2017 @@ -2,8 +2,8 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" lang="en"> <head> - <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> - <title>Apache Commons CLI 1.4-SNAPSHOT Reference</title> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <title>Apache Commons CLI 1.4 Reference</title> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" /> </head> <body> @@ -24,7 +24,7 @@ </ul> </div> - <h2>Apache Commons CLI 1.4-SNAPSHOT Reference</h2> + <h2>Apache Commons CLI 1.4 Reference</h2> <table class="summary"> <thead> @@ -65,7 +65,7 @@ <hr /> <div id="footer"> - Copyright © 2002–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. + Copyright © 2002–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. </div> </body> </html> \ No newline at end of file Modified: websites/production/commons/content/proper/commons-cli/xref-test/stylesheet.css ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref-test/stylesheet.css (original) +++ websites/production/commons/content/proper/commons-cli/xref-test/stylesheet.css Mon Mar 13 09:49:52 2017 @@ -111,4 +111,4 @@ hr { .jxr_keyword { color: #000; -} +} \ No newline at end of file Modified: websites/production/commons/content/proper/commons-cli/xref/allclasses-frame.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref/allclasses-frame.html (original) +++ websites/production/commons/content/proper/commons-cli/xref/allclasses-frame.html Mon Mar 13 09:49:52 2017 @@ -2,7 +2,7 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xml:lang="en" lang="en"> <head> - <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>All Classes</title> <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" /> </head> @@ -89,4 +89,4 @@ </ul> </body> - </html> + </html> \ No newline at end of file Modified: websites/production/commons/content/proper/commons-cli/xref/index.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref/index.html (original) +++ websites/production/commons/content/proper/commons-cli/xref/index.html Mon Mar 13 09:49:52 2017 @@ -3,8 +3,8 @@ <html xml:lang="en" lang="en"> <!-- this is a JXR report set --> <head> - <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> - <title>Apache Commons CLI 1.4-SNAPSHOT Reference</title> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <title>Apache Commons CLI 1.4 Reference</title> </head> <frameset cols="20%,80%"> <frameset rows="30%,70%"> @@ -22,4 +22,3 @@ </noframes> </frameset> </html> - Modified: websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/AlreadySelectedException.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/AlreadySelectedException.html (original) +++ websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/AlreadySelectedException.html Mon Mar 13 09:49:52 2017 @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>AlreadySelectedException xref</title> <link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" /> </head> @@ -95,6 +95,6 @@ <a class="jxr_linenumber" name="L87" href="#L87">87</a> } </pre> <hr/> -<div id="footer">Copyright © 2002–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +<div id="footer">Copyright © 2002–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> </body> -</html> +</html> \ No newline at end of file Modified: websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/AmbiguousOptionException.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/AmbiguousOptionException.html (original) +++ websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/AmbiguousOptionException.html Mon Mar 13 09:49:52 2017 @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>AmbiguousOptionException xref</title> <link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" /> </head> @@ -96,6 +96,6 @@ <a class="jxr_linenumber" name="L88" href="#L88">88</a> } </pre> <hr/> -<div id="footer">Copyright © 2002–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +<div id="footer">Copyright © 2002–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> </body> -</html> +</html> \ No newline at end of file Modified: websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/BasicParser.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/BasicParser.html (original) +++ websites/production/commons/content/proper/commons-cli/xref/org/apache/commons/cli/BasicParser.html Mon Mar 13 09:49:52 2017 @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head><meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> +<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>BasicParser xref</title> <link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" /> </head> @@ -59,6 +59,6 @@ <a class="jxr_linenumber" name="L51" href="#L51">51</a> } </pre> <hr/> -<div id="footer">Copyright © 2002–2015 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> +<div id="footer">Copyright © 2002–2017 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div> </body> -</html> +</html> \ No newline at end of file