commons-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1009138 [8/16] - in /websites/production/commons/content/proper/commons-cli: ./ apidocs/ apidocs/org/apache/commons/cli/ apidocs/org/apache/commons/cli/class-use/ apidocs/src-html/org/apache/commons/cli/ jacoco-aggregate/ jacoco/ jacoco/or...
Date Mon, 27 Mar 2017 09:21:58 GMT
Modified: websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/CommandLine.html
==============================================================================
--- websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/CommandLine.html (original)
+++ websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/CommandLine.html Mon Mar 27 09:21:54 2017
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>CommandLine</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CLI</a> &gt; <a href="index.html" class="el_package">org.apache.commons.cli</a> &gt; <span class="el_class">CommandLine</span></div><h1>CommandLine</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td 
 class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 282</td><td class="ctr2">100%</td><td class="bar">1 of 32</td><td class="ctr2">97%</td><td class="ctr1">1</td><td class="ctr2">36</td><td class="c
 tr1">0</td><td class="ctr2">59</td><td class="ctr1">0</td><td class="ctr2">20</td></tr></tfoot><tbody><tr><td id="a7"><a href="CommandLine.java.html#L265" class="el_method">getOptionProperties(String)</a></td><td class="bar" id="b0"><img src="../jacoco-resources/greenbar.gif" width="120" height="10" title="56" alt="56"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d1"><img src="../jacoco-resources/greenbar.gif" width="120" height="10" title="10" alt="10"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g0">6</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">10</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a14"><a href="CommandLine.java.html#L170" class="el_method">getOptionValues(String)</a></td><td class="bar" id="b1"><img src="../jacoco-resources/greenbar.gif" width="92" height="10" title="43" alt="43"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d2"><img src="../
 jacoco-resources/greenbar.gif" width="96" height="10" title="8" alt="8"/></td><td class="ctr2" id="e1">100%</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g1">5</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i2">6</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a19"><a href="CommandLine.java.html#L191" class="el_method">resolveOption(String)</a></td><td class="bar" id="b2"><img src="../jacoco-resources/greenbar.gif" width="66" height="10" title="31" alt="31"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d3"><img src="../jacoco-resources/greenbar.gif" width="72" height="10" title="6" alt="6"/></td><td class="ctr2" id="e2">100%</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g2">4</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i1">8</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a6"><a href="CommandLine.java.html#L93" class="el_method">getOptionObject(String)</a></td
 ><td class="bar" id="b3"><img src="../jacoco-resources/greenbar.gif" width="47" height="10" title="22" alt="22"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d6"/><td class="ctr2" id="e6">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g6">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i4">4</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a15"><a href="CommandLine.java.html#L113" class="el_method">getParsedOptionValue(String)</a></td><td class="bar" id="b4"><img src="../jacoco-resources/greenbar.gif" width="40" height="10" title="19" alt="19"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="12" height="10" title="1" alt="1"/><img src="../jacoco-resources/greenbar.gif" width="36" height="10" title="3" alt="3"/></td><td class="ctr2" id="e5">75%</td><td class="ctr1" id="f0">1</td><td class="ctr2" id="g3">3</td><td class="ctr1" id="h4">0</td><td class="
 ctr2" id="i3">5</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a2"><a href="CommandLine.java.html#L46" class="el_method">CommandLine()</a></td><td class="bar" id="b5"><img src="../jacoco-resources/greenbar.gif" width="27" height="10" title="13" alt="13"/></td><td class="ctr2" id="c5">100%</td><td class="bar" id="d7"/><td class="ctr2" id="e7">n/a</td><td class="ctr1" id="f5">0</td><td class="ctr2" id="g7">1</td><td class="ctr1" id="h5">0</td><td class="ctr2" id="i5">4</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr><tr><td id="a11"><a href="CommandLine.java.html#L144" class="el_method">getOptionValue(String)</a></td><td class="bar" id="b6"><img src="../jacoco-resources/greenbar.gif" width="25" height="10" title="12" alt="12"/></td><td class="ctr2" id="c6">100%</td><td class="bar" id="d4"><img src="../jacoco-resources/greenbar.gif" width="24" height="10" title="2" alt="2"/></td><td class="ctr2" id="e3">100%</td><td class="ctr1
 " id="f6">0</td><td class="ctr2" id="g4">2</td><td class="ctr1" id="h6">0</td><td class="ctr2" id="i8">2</td><td class="ctr1" id="j6">0</td><td class="ctr2" id="k6">1</td></tr><tr><td id="a4"><a href="CommandLine.java.html#L295" class="el_method">getArgs()</a></td><td class="bar" id="b7"><img src="../jacoco-resources/greenbar.gif" width="25" height="10" title="12" alt="12"/></td><td class="ctr2" id="c7">100%</td><td class="bar" id="d8"/><td class="ctr2" id="e8">n/a</td><td class="ctr1" id="f7">0</td><td class="ctr2" id="g8">1</td><td class="ctr1" id="h7">0</td><td class="ctr2" id="i6">3</td><td class="ctr1" id="j7">0</td><td class="ctr2" id="k7">1</td></tr><tr><td id="a8"><a href="CommandLine.java.html#L372" class="el_method">getOptions()</a></td><td class="bar" id="b8"><img src="../jacoco-resources/greenbar.gif" width="25" height="10" title="12" alt="12"/></td><td class="ctr2" id="c8">100%</td><td class="bar" id="d9"/><td class="ctr2" id="e9">n/a</td><td class="ctr1" id="f8">0</td>
 <td class="ctr2" id="g9">1</td><td class="ctr1" id="h8">0</td><td class="ctr2" id="i7">3</td><td class="ctr1" id="j8">0</td><td class="ctr2" id="k8">1</td></tr><tr><td id="a12"><a href="CommandLine.java.html#L231" class="el_method">getOptionValue(String, String)</a></td><td class="bar" id="b9"><img src="../jacoco-resources/greenbar.gif" width="21" height="10" title="10" alt="10"/></td><td class="ctr2" id="c9">100%</td><td class="bar" id="d5"><img src="../jacoco-resources/greenbar.gif" width="24" height="10" title="2" alt="2"/></td><td class="ctr2" id="e4">100%</td><td class="ctr1" id="f9">0</td><td class="ctr2" id="g5">2</td><td class="ctr1" id="h9">0</td><td class="ctr2" id="i9">2</td><td class="ctr1" id="j9">0</td><td class="ctr2" id="k9">1</td></tr><tr><td id="a17"><a href="CommandLine.java.html#L67" class="el_method">hasOption(String)</a></td><td class="bar" id="b10"><img src="../jacoco-resources/greenbar.gif" width="15" height="10" title="7" alt="7"/></td><td class="ctr2" id="c
 10">100%</td><td class="bar" id="d10"/><td class="ctr2" id="e10">n/a</td><td class="ctr1" id="f10">0</td><td class="ctr2" id="g10">1</td><td class="ctr1" id="h10">0</td><td class="ctr2" id="i12">1</td><td class="ctr1" id="j10">0</td><td class="ctr2" id="k10">1</td></tr><tr><td id="a10"><a href="CommandLine.java.html#L247" class="el_method">getOptionValue(char, String)</a></td><td class="bar" id="b11"><img src="../jacoco-resources/greenbar.gif" width="12" height="10" title="6" alt="6"/></td><td class="ctr2" id="c11">100%</td><td class="bar" id="d11"/><td class="ctr2" id="e11">n/a</td><td class="ctr1" id="f11">0</td><td class="ctr2" id="g11">1</td><td class="ctr1" id="h11">0</td><td class="ctr2" id="i13">1</td><td class="ctr1" id="j11">0</td><td class="ctr2" id="k11">1</td></tr><tr><td id="a0"><a href="CommandLine.java.html#L341" class="el_method">addArg(String)</a></td><td class="bar" id="b12"><img src="../jacoco-resources/greenbar.gif" width="12" height="10" title="6" alt="6"/></td>
 <td class="ctr2" id="c12">100%</td><td class="bar" id="d12"/><td class="ctr2" id="e12">n/a</td><td class="ctr1" id="f12">0</td><td class="ctr2" id="g12">1</td><td class="ctr1" id="h12">0</td><td class="ctr2" id="i10">2</td><td class="ctr1" id="j12">0</td><td class="ctr2" id="k12">1</td></tr><tr><td id="a1"><a href="CommandLine.java.html#L351" class="el_method">addOption(Option)</a></td><td class="bar" id="b13"><img src="../jacoco-resources/greenbar.gif" width="12" height="10" title="6" alt="6"/></td><td class="ctr2" id="c13">100%</td><td class="bar" id="d13"/><td class="ctr2" id="e13">n/a</td><td class="ctr1" id="f13">0</td><td class="ctr2" id="g13">1</td><td class="ctr1" id="h13">0</td><td class="ctr2" id="i11">2</td><td class="ctr1" id="j13">0</td><td class="ctr2" id="k13">1</td></tr><tr><td id="a16"><a href="CommandLine.java.html#L78" class="el_method">hasOption(char)</a></td><td class="bar" id="b14"><img src="../jacoco-resources/greenbar.gif" width="10" height="10" title="5" alt
 ="5"/></td><td class="ctr2" id="c14">100%</td><td class="bar" id="d14"/><td class="ctr2" id="e14">n/a</td><td class="ctr1" id="f14">0</td><td class="ctr2" id="g14">1</td><td class="ctr1" id="h14">0</td><td class="ctr2" id="i14">1</td><td class="ctr1" id="j14">0</td><td class="ctr2" id="k14">1</td></tr><tr><td id="a5"><a href="CommandLine.java.html#L132" class="el_method">getOptionObject(char)</a></td><td class="bar" id="b15"><img src="../jacoco-resources/greenbar.gif" width="10" height="10" title="5" alt="5"/></td><td class="ctr2" id="c15">100%</td><td class="bar" id="d15"/><td class="ctr2" id="e15">n/a</td><td class="ctr1" id="f15">0</td><td class="ctr2" id="g15">1</td><td class="ctr1" id="h15">0</td><td class="ctr2" id="i15">1</td><td class="ctr1" id="j15">0</td><td class="ctr2" id="k15">1</td></tr><tr><td id="a9"><a href="CommandLine.java.html#L158" class="el_method">getOptionValue(char)</a></td><td class="bar" id="b16"><img src="../jacoco-resources/greenbar.gif" width="10" heigh
 t="10" title="5" alt="5"/></td><td class="ctr2" id="c16">100%</td><td class="bar" id="d16"/><td class="ctr2" id="e16">n/a</td><td class="ctr1" id="f16">0</td><td class="ctr2" id="g16">1</td><td class="ctr1" id="h16">0</td><td class="ctr2" id="i16">1</td><td class="ctr1" id="j16">0</td><td class="ctr2" id="k16">1</td></tr><tr><td id="a13"><a href="CommandLine.java.html#L217" class="el_method">getOptionValues(char)</a></td><td class="bar" id="b17"><img src="../jacoco-resources/greenbar.gif" width="10" height="10" title="5" alt="5"/></td><td class="ctr2" id="c17">100%</td><td class="bar" id="d17"/><td class="ctr2" id="e17">n/a</td><td class="ctr1" id="f17">0</td><td class="ctr2" id="g17">1</td><td class="ctr1" id="h17">0</td><td class="ctr2" id="i17">1</td><td class="ctr1" id="j17">0</td><td class="ctr2" id="k17">1</td></tr><tr><td id="a18"><a href="CommandLine.java.html#L362" class="el_method">iterator()</a></td><td class="bar" id="b18"><img src="../jacoco-resources/greenbar.gif" widt
 h="8" height="10" title="4" alt="4"/></td><td class="ctr2" id="c18">100%</td><td class="bar" id="d18"/><td class="ctr2" id="e18">n/a</td><td class="ctr1" id="f18">0</td><td class="ctr2" id="g18">1</td><td class="ctr1" id="h18">0</td><td class="ctr2" id="i18">1</td><td class="ctr1" id="j18">0</td><td class="ctr2" id="k18">1</td></tr><tr><td id="a3"><a href="CommandLine.java.html#L309" class="el_method">getArgList()</a></td><td class="bar" id="b19"><img src="../jacoco-resources/greenbar.gif" width="6" height="10" title="3" alt="3"/></td><td class="ctr2" id="c19">100%</td><td class="bar" id="d19"/><td class="ctr2" id="e19">n/a</td><td class="ctr1" id="f19">0</td><td class="ctr2" id="g19">1</td><td class="ctr1" id="h19">0</td><td class="ctr2" id="i19">1</td><td class="ctr1" id="j19">0</td><td class="ctr2" id="k19">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.7.201606060606</span></div></body></html
 >
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>CommandLine</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CLI</a> &gt; <a href="index.html" class="el_package">org.apache.commons.cli</a> &gt; <span class="el_class">CommandLine</span></div><h1>CommandLine</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td 
 class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 362</td><td class="ctr2">100%</td><td class="bar">0 of 40</td><td class="ctr2">100%</td><td class="ctr1">0</td><td class="ctr2">47</td><td class="
 ctr1">0</td><td class="ctr2">78</td><td class="ctr1">0</td><td class="ctr2">27</td></tr></tfoot><tbody><tr><td id="a8"><a href="CommandLine.java.html#L388" class="el_method">getOptionProperties(String)</a></td><td class="bar" id="b0"><img src="../jacoco-resources/greenbar.gif" width="120" height="10" title="56" alt="56"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"><img src="../jacoco-resources/greenbar.gif" width="120" height="10" title="10" alt="10"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">6</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">10</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a7"><a href="CommandLine.java.html#L350" class="el_method">getOptionProperties(Option)</a></td><td class="bar" id="b1"><img src="../jacoco-resources/greenbar.gif" width="107" height="10" title="50" alt="50"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d1"><img src
 ="../jacoco-resources/greenbar.gif" width="96" height="10" title="8" alt="8"/></td><td class="ctr2" id="e1">100%</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">5</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i1">10</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a17"><a href="CommandLine.java.html#L229" class="el_method">getOptionValues(Option)</a></td><td class="bar" id="b2"><img src="../jacoco-resources/greenbar.gif" width="79" height="10" title="37" alt="37"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d2"><img src="../jacoco-resources/greenbar.gif" width="72" height="10" title="6" alt="6"/></td><td class="ctr2" id="e2">100%</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">4</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i3">6</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a26"><a href="CommandLine.java.html#L262" class="el_method">resolveOption(String)
 </a></td><td class="bar" id="b3"><img src="../jacoco-resources/greenbar.gif" width="66" height="10" title="31" alt="31"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d3"><img src="../jacoco-resources/greenbar.gif" width="72" height="10" title="6" alt="6"/></td><td class="ctr2" id="e3">100%</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">4</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i2">8</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a6"><a href="CommandLine.java.html#L105" class="el_method">getOptionObject(String)</a></td><td class="bar" id="b4"><img src="../jacoco-resources/greenbar.gif" width="47" height="10" title="22" alt="22"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d7"/><td class="ctr2" id="e7">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g7">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i5">4</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td
 ></tr><tr><td id="a20"><a href="CommandLine.java.html#L125" class="el_method">getParsedOptionValue(Option)</a></td><td class="bar" id="b5"><img src="../jacoco-resources/greenbar.gif" width="36" height="10" title="17" alt="17"/></td><td class="ctr2" id="c5">100%</td><td class="bar" id="d4"><img src="../jacoco-resources/greenbar.gif" width="48" height="10" title="4" alt="4"/></td><td class="ctr2" id="e4">100%</td><td class="ctr1" id="f5">0</td><td class="ctr2" id="g4">3</td><td class="ctr1" id="h5">0</td><td class="ctr2" id="i4">6</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr><tr><td id="a12"><a href="CommandLine.java.html#L187" class="el_method">getOptionValue(Option)</a></td><td class="bar" id="b6"><img src="../jacoco-resources/greenbar.gif" width="34" height="10" title="16" alt="16"/></td><td class="ctr2" id="c6">100%</td><td class="bar" id="d5"><img src="../jacoco-resources/greenbar.gif" width="48" height="10" title="4" alt="4"/></td><td class="ctr2" id="e
 5">100%</td><td class="ctr1" id="f6">0</td><td class="ctr2" id="g5">3</td><td class="ctr1" id="h6">0</td><td class="ctr2" id="i6">4</td><td class="ctr1" id="j6">0</td><td class="ctr2" id="k6">1</td></tr><tr><td id="a2"><a href="CommandLine.java.html#L46" class="el_method">CommandLine()</a></td><td class="bar" id="b7"><img src="../jacoco-resources/greenbar.gif" width="27" height="10" title="13" alt="13"/></td><td class="ctr2" id="c7">100%</td><td class="bar" id="d8"/><td class="ctr2" id="e8">n/a</td><td class="ctr1" id="f7">0</td><td class="ctr2" id="g8">1</td><td class="ctr1" id="h7">0</td><td class="ctr2" id="i7">4</td><td class="ctr1" id="j7">0</td><td class="ctr2" id="k7">1</td></tr><tr><td id="a4"><a href="CommandLine.java.html#L418" class="el_method">getArgs()</a></td><td class="bar" id="b8"><img src="../jacoco-resources/greenbar.gif" width="25" height="10" title="12" alt="12"/></td><td class="ctr2" id="c8">100%</td><td class="bar" id="d9"/><td class="ctr2" id="e9">n/a</td><td 
 class="ctr1" id="f8">0</td><td class="ctr2" id="g9">1</td><td class="ctr1" id="h8">0</td><td class="ctr2" id="i8">3</td><td class="ctr1" id="j8">0</td><td class="ctr2" id="k8">1</td></tr><tr><td id="a9"><a href="CommandLine.java.html#L495" class="el_method">getOptions()</a></td><td class="bar" id="b9"><img src="../jacoco-resources/greenbar.gif" width="25" height="10" title="12" alt="12"/></td><td class="ctr2" id="c9">100%</td><td class="bar" id="d10"/><td class="ctr2" id="e10">n/a</td><td class="ctr1" id="f9">0</td><td class="ctr2" id="g10">1</td><td class="ctr1" id="h9">0</td><td class="ctr2" id="i9">3</td><td class="ctr1" id="j9">0</td><td class="ctr2" id="k9">1</td></tr><tr><td id="a13"><a href="CommandLine.java.html#L303" class="el_method">getOptionValue(Option, String)</a></td><td class="bar" id="b10"><img src="../jacoco-resources/greenbar.gif" width="21" height="10" title="10" alt="10"/></td><td class="ctr2" id="c10">100%</td><td class="bar" id="d6"><img src="../jacoco-resourc
 es/greenbar.gif" width="24" height="10" title="2" alt="2"/></td><td class="ctr2" id="e6">100%</td><td class="ctr1" id="f10">0</td><td class="ctr2" id="g6">2</td><td class="ctr1" id="h10">0</td><td class="ctr2" id="i10">2</td><td class="ctr1" id="j10">0</td><td class="ctr2" id="k10">1</td></tr><tr><td id="a15"><a href="CommandLine.java.html#L318" class="el_method">getOptionValue(String, String)</a></td><td class="bar" id="b11"><img src="../jacoco-resources/greenbar.gif" width="15" height="10" title="7" alt="7"/></td><td class="ctr2" id="c11">100%</td><td class="bar" id="d11"/><td class="ctr2" id="e11">n/a</td><td class="ctr1" id="f11">0</td><td class="ctr2" id="g11">1</td><td class="ctr1" id="h11">0</td><td class="ctr2" id="i13">1</td><td class="ctr1" id="j11">0</td><td class="ctr2" id="k11">1</td></tr><tr><td id="a24"><a href="CommandLine.java.html#L79" class="el_method">hasOption(String)</a></td><td class="bar" id="b12"><img src="../jacoco-resources/greenbar.gif" width="12" height=
 "10" title="6" alt="6"/></td><td class="ctr2" id="c12">100%</td><td class="bar" id="d12"/><td class="ctr2" id="e12">n/a</td><td class="ctr1" id="f12">0</td><td class="ctr2" id="g12">1</td><td class="ctr1" id="h12">0</td><td class="ctr2" id="i14">1</td><td class="ctr1" id="j12">0</td><td class="ctr2" id="k12">1</td></tr><tr><td id="a21"><a href="CommandLine.java.html#L148" class="el_method">getParsedOptionValue(String)</a></td><td class="bar" id="b13"><img src="../jacoco-resources/greenbar.gif" width="12" height="10" title="6" alt="6"/></td><td class="ctr2" id="c13">100%</td><td class="bar" id="d13"/><td class="ctr2" id="e13">n/a</td><td class="ctr1" id="f13">0</td><td class="ctr2" id="g13">1</td><td class="ctr1" id="h13">0</td><td class="ctr2" id="i15">1</td><td class="ctr1" id="j13">0</td><td class="ctr2" id="k13">1</td></tr><tr><td id="a14"><a href="CommandLine.java.html#L204" class="el_method">getOptionValue(String)</a></td><td class="bar" id="b14"><img src="../jacoco-resources/g
 reenbar.gif" width="12" height="10" title="6" alt="6"/></td><td class="ctr2" id="c14">100%</td><td class="bar" id="d14"/><td class="ctr2" id="e14">n/a</td><td class="ctr1" id="f14">0</td><td class="ctr2" id="g14">1</td><td class="ctr1" id="h14">0</td><td class="ctr2" id="i16">1</td><td class="ctr1" id="j14">0</td><td class="ctr2" id="k14">1</td></tr><tr><td id="a18"><a href="CommandLine.java.html#L251" class="el_method">getOptionValues(String)</a></td><td class="bar" id="b15"><img src="../jacoco-resources/greenbar.gif" width="12" height="10" title="6" alt="6"/></td><td class="ctr2" id="c15">100%</td><td class="bar" id="d15"/><td class="ctr2" id="e15">n/a</td><td class="ctr1" id="f15">0</td><td class="ctr2" id="g15">1</td><td class="ctr1" id="h15">0</td><td class="ctr2" id="i17">1</td><td class="ctr1" id="j15">0</td><td class="ctr2" id="k15">1</td></tr><tr><td id="a11"><a href="CommandLine.java.html#L332" class="el_method">getOptionValue(char, String)</a></td><td class="bar" id="b16"
 ><img src="../jacoco-resources/greenbar.gif" width="12" height="10" title="6" alt="6"/></td><td class="ctr2" id="c16">100%</td><td class="bar" id="d16"/><td class="ctr2" id="e16">n/a</td><td class="ctr1" id="f16">0</td><td class="ctr2" id="g16">1</td><td class="ctr1" id="h16">0</td><td class="ctr2" id="i18">1</td><td class="ctr1" id="j16">0</td><td class="ctr2" id="k16">1</td></tr><tr><td id="a0"><a href="CommandLine.java.html#L464" class="el_method">addArg(String)</a></td><td class="bar" id="b17"><img src="../jacoco-resources/greenbar.gif" width="12" height="10" title="6" alt="6"/></td><td class="ctr2" id="c17">100%</td><td class="bar" id="d17"/><td class="ctr2" id="e17">n/a</td><td class="ctr1" id="f17">0</td><td class="ctr2" id="g17">1</td><td class="ctr1" id="h17">0</td><td class="ctr2" id="i11">2</td><td class="ctr1" id="j17">0</td><td class="ctr2" id="k17">1</td></tr><tr><td id="a1"><a href="CommandLine.java.html#L474" class="el_method">addOption(Option)</a></td><td class="bar
 " id="b18"><img src="../jacoco-resources/greenbar.gif" width="12" height="10" title="6" alt="6"/></td><td class="ctr2" id="c18">100%</td><td class="bar" id="d18"/><td class="ctr2" id="e18">n/a</td><td class="ctr1" id="f18">0</td><td class="ctr2" id="g18">1</td><td class="ctr1" id="h18">0</td><td class="ctr2" id="i12">2</td><td class="ctr1" id="j18">0</td><td class="ctr2" id="k18">1</td></tr><tr><td id="a23"><a href="CommandLine.java.html#L68" class="el_method">hasOption(Option)</a></td><td class="bar" id="b19"><img src="../jacoco-resources/greenbar.gif" width="10" height="10" title="5" alt="5"/></td><td class="ctr2" id="c19">100%</td><td class="bar" id="d19"/><td class="ctr2" id="e19">n/a</td><td class="ctr1" id="f19">0</td><td class="ctr2" id="g19">1</td><td class="ctr1" id="h19">0</td><td class="ctr2" id="i19">1</td><td class="ctr1" id="j19">0</td><td class="ctr2" id="k19">1</td></tr><tr><td id="a22"><a href="CommandLine.java.html#L90" class="el_method">hasOption(char)</a></td><td
  class="bar" id="b20"><img src="../jacoco-resources/greenbar.gif" width="10" height="10" title="5" alt="5"/></td><td class="ctr2" id="c20">100%</td><td class="bar" id="d20"/><td class="ctr2" id="e20">n/a</td><td class="ctr1" id="f20">0</td><td class="ctr2" id="g20">1</td><td class="ctr1" id="h20">0</td><td class="ctr2" id="i20">1</td><td class="ctr1" id="j20">0</td><td class="ctr2" id="k20">1</td></tr><tr><td id="a19"><a href="CommandLine.java.html#L162" class="el_method">getParsedOptionValue(char)</a></td><td class="bar" id="b21"><img src="../jacoco-resources/greenbar.gif" width="10" height="10" title="5" alt="5"/></td><td class="ctr2" id="c21">100%</td><td class="bar" id="d21"/><td class="ctr2" id="e21">n/a</td><td class="ctr1" id="f21">0</td><td class="ctr2" id="g21">1</td><td class="ctr1" id="h21">0</td><td class="ctr2" id="i21">1</td><td class="ctr1" id="j21">0</td><td class="ctr2" id="k21">1</td></tr><tr><td id="a5"><a href="CommandLine.java.html#L174" class="el_method">getOpt
 ionObject(char)</a></td><td class="bar" id="b22"><img src="../jacoco-resources/greenbar.gif" width="10" height="10" title="5" alt="5"/></td><td class="ctr2" id="c22">100%</td><td class="bar" id="d22"/><td class="ctr2" id="e22">n/a</td><td class="ctr1" id="f22">0</td><td class="ctr2" id="g22">1</td><td class="ctr1" id="h22">0</td><td class="ctr2" id="i22">1</td><td class="ctr1" id="j22">0</td><td class="ctr2" id="k22">1</td></tr><tr><td id="a10"><a href="CommandLine.java.html#L216" class="el_method">getOptionValue(char)</a></td><td class="bar" id="b23"><img src="../jacoco-resources/greenbar.gif" width="10" height="10" title="5" alt="5"/></td><td class="ctr2" id="c23">100%</td><td class="bar" id="d23"/><td class="ctr2" id="e23">n/a</td><td class="ctr1" id="f23">0</td><td class="ctr2" id="g23">1</td><td class="ctr1" id="h23">0</td><td class="ctr2" id="i23">1</td><td class="ctr1" id="j23">0</td><td class="ctr2" id="k23">1</td></tr><tr><td id="a16"><a href="CommandLine.java.html#L288" cl
 ass="el_method">getOptionValues(char)</a></td><td class="bar" id="b24"><img src="../jacoco-resources/greenbar.gif" width="10" height="10" title="5" alt="5"/></td><td class="ctr2" id="c24">100%</td><td class="bar" id="d24"/><td class="ctr2" id="e24">n/a</td><td class="ctr1" id="f24">0</td><td class="ctr2" id="g24">1</td><td class="ctr1" id="h24">0</td><td class="ctr2" id="i24">1</td><td class="ctr1" id="j24">0</td><td class="ctr2" id="k24">1</td></tr><tr><td id="a25"><a href="CommandLine.java.html#L485" class="el_method">iterator()</a></td><td class="bar" id="b25"><img src="../jacoco-resources/greenbar.gif" width="8" height="10" title="4" alt="4"/></td><td class="ctr2" id="c25">100%</td><td class="bar" id="d25"/><td class="ctr2" id="e25">n/a</td><td class="ctr1" id="f25">0</td><td class="ctr2" id="g25">1</td><td class="ctr1" id="h25">0</td><td class="ctr2" id="i25">1</td><td class="ctr1" id="j25">0</td><td class="ctr2" id="k25">1</td></tr><tr><td id="a3"><a href="CommandLine.java.htm
 l#L432" class="el_method">getArgList()</a></td><td class="bar" id="b26"><img src="../jacoco-resources/greenbar.gif" width="6" height="10" title="3" alt="3"/></td><td class="ctr2" id="c26">100%</td><td class="bar" id="d26"/><td class="ctr2" id="e26">n/a</td><td class="ctr1" id="f26">0</td><td class="ctr2" id="g26">1</td><td class="ctr1" id="h26">0</td><td class="ctr2" id="i26">1</td><td class="ctr1" id="j26">0</td><td class="ctr2" id="k26">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.7.201606060606</span></div></body></html>
\ No newline at end of file

Modified: websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/CommandLine.java.html
==============================================================================
--- websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/CommandLine.java.html (original)
+++ websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/CommandLine.java.html Mon Mar 27 09:21:54 2017
@@ -35,7 +35,7 @@ import java.util.Properties;
  * Additionally, any left-over or unrecognized arguments,
  * are available for further processing.
  *
- * @version $Id: CommandLine.java 1786144 2017-03-09 11:34:57Z britter $
+ * @version $Id: CommandLine.java 1788678 2017-03-25 18:32:55Z britter $
  */
 public class CommandLine implements Serializable
 {
@@ -55,6 +55,18 @@ public class CommandLine implements Seri
 <span class="fc" id="L55">    {</span>
         // nothing to do
 <span class="fc" id="L57">    }</span>
+    
+    /** 
+     * Query to see if an option has been set.
+     *
+     * @param opt the option to check
+     * @return true if set, false if not
+     * @since 1.4
+     */
+    public boolean hasOption(Option opt)
+    {
+<span class="fc" id="L68">        return options.contains(opt);</span>
+    }
 
     /** 
      * Query to see if an option has been set.
@@ -64,9 +76,9 @@ public class CommandLine implements Seri
      */
     public boolean hasOption(String opt)
     {
-<span class="fc" id="L67">        return options.contains(resolveOption(opt));</span>
+<span class="fc" id="L79">        return hasOption(resolveOption(opt));</span>
     }
-
+    
     /** 
      * Query to see if an option has been set.
      *
@@ -75,7 +87,7 @@ public class CommandLine implements Seri
      */
     public boolean hasOption(char opt)
     {
-<span class="fc" id="L78">        return hasOption(String.valueOf(opt));</span>
+<span class="fc" id="L90">        return hasOption(String.valueOf(opt));</span>
     }
 
     /**
@@ -90,14 +102,37 @@ public class CommandLine implements Seri
     {
         try
         {
-<span class="fc" id="L93">            return getParsedOptionValue(opt);</span>
+<span class="fc" id="L105">            return getParsedOptionValue(opt);</span>
         }
-<span class="fc" id="L95">        catch (ParseException pe)</span>
+<span class="fc" id="L107">        catch (ParseException pe)</span>
         {
-<span class="fc" id="L97">            System.err.println(&quot;Exception found converting &quot; + opt + &quot; to desired type: &quot; + pe.getMessage());</span>
-<span class="fc" id="L98">            return null;</span>
+<span class="fc" id="L109">            System.err.println(&quot;Exception found converting &quot; + opt + &quot; to desired type: &quot; + pe.getMessage());</span>
+<span class="fc" id="L110">            return null;</span>
         }
     }
+    
+    /**
+     * Return a version of this &lt;code&gt;Option&lt;/code&gt; converted to a particular type. 
+     *
+     * @param option the name of the option
+     * @return the value parsed into a particular object
+     * @throws ParseException if there are problems turning the option value into the desired type
+     * @see PatternOptionBuilder
+     * @since 1.4
+     */
+    public Object getParsedOptionValue(Option option) throws ParseException
+    {
+<span class="fc bfc" id="L125" title="All 2 branches covered.">        if (option == null)</span>
+        {
+<span class="fc" id="L127">            return null;</span>
+        }
+<span class="fc" id="L129">        String res = getOptionValue(option);</span>
+<span class="fc bfc" id="L130" title="All 2 branches covered.">        if (res == null)</span>
+        {
+<span class="fc" id="L132">            return null;</span>
+        }
+<span class="fc" id="L134">        return TypeHandler.createValue(res, option.getType());</span>
+    }
 
     /**
      * Return a version of this &lt;code&gt;Option&lt;/code&gt; converted to a particular type. 
@@ -110,26 +145,51 @@ public class CommandLine implements Seri
      */
     public Object getParsedOptionValue(String opt) throws ParseException
     {
-<span class="fc" id="L113">        String res = getOptionValue(opt);</span>
-<span class="fc" id="L114">        Option option = resolveOption(opt);</span>
-        
-<span class="pc bpc" id="L116" title="1 of 4 branches missed.">        if (option == null || res == null)</span>
-        {
-<span class="fc" id="L118">            return null;</span>
-        }
-        
-<span class="fc" id="L121">        return TypeHandler.createValue(res, option.getType());</span>
+<span class="fc" id="L148">        return getParsedOptionValue(resolveOption(opt));</span>
+    }
+    
+    /**
+     * Return a version of this &lt;code&gt;Option&lt;/code&gt; converted to a particular type. 
+     *
+     * @param opt the name of the option
+     * @return the value parsed into a particular object
+     * @throws ParseException if there are problems turning the option value into the desired type
+     * @see PatternOptionBuilder
+     * @since 1.2
+     */
+    public Object getParsedOptionValue(char opt) throws ParseException
+    {
+<span class="fc" id="L162">        return getParsedOptionValue(String.valueOf(opt));</span>
     }
 
     /**
      * Return the &lt;code&gt;Object&lt;/code&gt; type of this &lt;code&gt;Option&lt;/code&gt;.
      *
+     * @deprecated due to System.err message. Instead use getParsedOptionValue(char)
      * @param opt the name of the option
      * @return the type of opt
      */
     public Object getOptionObject(char opt)
     {
-<span class="fc" id="L132">        return getOptionObject(String.valueOf(opt));</span>
+<span class="fc" id="L174">        return getOptionObject(String.valueOf(opt));</span>
+    }
+    
+    /** 
+     * Retrieve the first argument, if any, of this option.
+     *
+     * @param option the name of the option
+     * @return Value of the argument if option is set, and has an argument,
+     * otherwise null.
+     * @since 1.4
+     */
+    public String getOptionValue(Option option)
+    {
+<span class="fc bfc" id="L187" title="All 2 branches covered.">        if (option == null)</span>
+        {
+<span class="fc" id="L189">            return null;</span>
+        }
+<span class="fc" id="L191">        String[] values = getOptionValues(option);</span>
+<span class="fc bfc" id="L192" title="All 2 branches covered.">        return (values == null) ? null : values[0];</span>
     }
 
     /** 
@@ -141,9 +201,7 @@ public class CommandLine implements Seri
      */
     public String getOptionValue(String opt)
     {
-<span class="fc" id="L144">        String[] values = getOptionValues(opt);</span>
-
-<span class="fc bfc" id="L146" title="All 2 branches covered.">        return (values == null) ? null : values[0];</span>
+<span class="fc" id="L204">        return getOptionValue(resolveOption(opt));</span>
     }
 
     /** 
@@ -155,29 +213,42 @@ public class CommandLine implements Seri
      */
     public String getOptionValue(char opt)
     {
-<span class="fc" id="L158">        return getOptionValue(String.valueOf(opt));</span>
+<span class="fc" id="L216">        return getOptionValue(String.valueOf(opt));</span>
     }
-
+    
     /** 
      * Retrieves the array of values, if any, of an option.
      *
-     * @param opt string name of the option
+     * @param option string name of the option
      * @return Values of the argument if option is set, and has an argument,
      * otherwise null.
+     * @since 1.4
      */
-    public String[] getOptionValues(String opt)
+    public String[] getOptionValues(Option option)
     {
-<span class="fc" id="L170">        List&lt;String&gt; values = new ArrayList&lt;String&gt;();</span>
+<span class="fc" id="L229">        List&lt;String&gt; values = new ArrayList&lt;String&gt;();</span>
 
-<span class="fc bfc" id="L172" title="All 2 branches covered.">        for (Option option : options)</span>
+<span class="fc bfc" id="L231" title="All 2 branches covered.">        for (Option processedOption : options)</span>
         {
-<span class="fc bfc" id="L174" title="All 4 branches covered.">            if (opt.equals(option.getOpt()) || opt.equals(option.getLongOpt()))</span>
+<span class="fc bfc" id="L233" title="All 2 branches covered.">            if (processedOption.equals(option))</span>
             {
-<span class="fc" id="L176">                values.addAll(option.getValuesList());</span>
+<span class="fc" id="L235">                values.addAll(processedOption.getValuesList());</span>
             }
-<span class="fc" id="L178">        }</span>
+<span class="fc" id="L237">        }</span>
+
+<span class="fc bfc" id="L239" title="All 2 branches covered.">        return values.isEmpty() ? null : values.toArray(new String[values.size()]);</span>
+    }
 
-<span class="fc bfc" id="L180" title="All 2 branches covered.">        return values.isEmpty() ? null : values.toArray(new String[values.size()]);</span>
+    /** 
+     * Retrieves the array of values, if any, of an option.
+     *
+     * @param opt string name of the option
+     * @return Values of the argument if option is set, and has an argument,
+     * otherwise null.
+     */
+    public String[] getOptionValues(String opt)
+    {
+<span class="fc" id="L251">        return getOptionValues(resolveOption(opt));</span>
     }
 
     /**
@@ -188,21 +259,21 @@ public class CommandLine implements Seri
      */
     private Option resolveOption(String opt)
     {
-<span class="fc" id="L191">        opt = Util.stripLeadingHyphens(opt);</span>
-<span class="fc bfc" id="L192" title="All 2 branches covered.">        for (Option option : options)</span>
+<span class="fc" id="L262">        opt = Util.stripLeadingHyphens(opt);</span>
+<span class="fc bfc" id="L263" title="All 2 branches covered.">        for (Option option : options)</span>
         {
-<span class="fc bfc" id="L194" title="All 2 branches covered.">            if (opt.equals(option.getOpt()))</span>
+<span class="fc bfc" id="L265" title="All 2 branches covered.">            if (opt.equals(option.getOpt()))</span>
             {
-<span class="fc" id="L196">                return option;</span>
+<span class="fc" id="L267">                return option;</span>
             }
 
-<span class="fc bfc" id="L199" title="All 2 branches covered.">            if (opt.equals(option.getLongOpt()))</span>
+<span class="fc bfc" id="L270" title="All 2 branches covered.">            if (opt.equals(option.getLongOpt()))</span>
             {
-<span class="fc" id="L201">                return option;</span>
+<span class="fc" id="L272">                return option;</span>
             }
 
-<span class="fc" id="L204">        }</span>
-<span class="fc" id="L205">        return null;</span>
+<span class="fc" id="L275">        }</span>
+<span class="fc" id="L276">        return null;</span>
     }
 
     /** 
@@ -214,7 +285,23 @@ public class CommandLine implements Seri
      */
     public String[] getOptionValues(char opt)
     {
-<span class="fc" id="L217">        return getOptionValues(String.valueOf(opt));</span>
+<span class="fc" id="L288">        return getOptionValues(String.valueOf(opt));</span>
+    }
+    
+    /** 
+     * Retrieve the first argument, if any, of an option.
+     *
+     * @param option name of the option
+     * @param defaultValue is the default value to be returned if the option
+     * is not specified
+     * @return Value of the argument if option is set, and has an argument,
+     * otherwise &lt;code&gt;defaultValue&lt;/code&gt;.
+     * @since 1.4
+     */
+    public String getOptionValue(Option option, String defaultValue)
+    {
+<span class="fc" id="L303">        String answer = getOptionValue(option);</span>
+<span class="fc bfc" id="L304" title="All 2 branches covered.">        return (answer != null) ? answer : defaultValue;</span>
     }
 
     /** 
@@ -228,9 +315,7 @@ public class CommandLine implements Seri
      */
     public String getOptionValue(String opt, String defaultValue)
     {
-<span class="fc" id="L231">        String answer = getOptionValue(opt);</span>
-
-<span class="fc bfc" id="L233" title="All 2 branches covered.">        return (answer != null) ? answer : defaultValue;</span>
+<span class="fc" id="L318">        return getOptionValue(resolveOption(opt), defaultValue);</span>
     }
 
     /** 
@@ -244,7 +329,45 @@ public class CommandLine implements Seri
      */
     public String getOptionValue(char opt, String defaultValue)
     {
-<span class="fc" id="L247">        return getOptionValue(String.valueOf(opt), defaultValue);</span>
+<span class="fc" id="L332">        return getOptionValue(String.valueOf(opt), defaultValue);</span>
+    }
+    
+    /**
+     * Retrieve the map of values associated to the option. This is convenient
+     * for options specifying Java properties like &lt;tt&gt;-Dparam1=value1
+     * -Dparam2=value2&lt;/tt&gt;. The first argument of the option is the key, and
+     * the 2nd argument is the value. If the option has only one argument
+     * (&lt;tt&gt;-Dfoo&lt;/tt&gt;) it is considered as a boolean flag and the value is
+     * &lt;tt&gt;&quot;true&quot;&lt;/tt&gt;.
+     *
+     * @param option name of the option
+     * @return The Properties mapped by the option, never &lt;tt&gt;null&lt;/tt&gt;
+     *         even if the option doesn't exists
+     * @since 1.4
+     */
+    public Properties getOptionProperties(Option option)
+    {
+<span class="fc" id="L350">        Properties props = new Properties();</span>
+
+<span class="fc bfc" id="L352" title="All 2 branches covered.">        for (Option processedOption : options)</span>
+        {
+<span class="fc bfc" id="L354" title="All 2 branches covered.">            if (processedOption.equals(option))</span>
+            {
+<span class="fc" id="L356">                List&lt;String&gt; values = processedOption.getValuesList();</span>
+<span class="fc bfc" id="L357" title="All 2 branches covered.">                if (values.size() &gt;= 2)</span>
+                {
+                    // use the first 2 arguments as the key/value pair
+<span class="fc" id="L360">                    props.put(values.get(0), values.get(1));</span>
+                }
+<span class="fc bfc" id="L362" title="All 2 branches covered.">                else if (values.size() == 1)</span>
+                {
+                    // no explicit value, handle it as a boolean
+<span class="fc" id="L365">                    props.put(values.get(0), &quot;true&quot;);</span>
+                }
+            }
+<span class="fc" id="L368">        }</span>
+
+<span class="fc" id="L370">        return props;</span>
     }
 
     /**
@@ -262,27 +385,27 @@ public class CommandLine implements Seri
      */
     public Properties getOptionProperties(String opt)
     {
-<span class="fc" id="L265">        Properties props = new Properties();</span>
+<span class="fc" id="L388">        Properties props = new Properties();</span>
 
-<span class="fc bfc" id="L267" title="All 2 branches covered.">        for (Option option : options)</span>
+<span class="fc bfc" id="L390" title="All 2 branches covered.">        for (Option option : options)</span>
         {
-<span class="fc bfc" id="L269" title="All 4 branches covered.">            if (opt.equals(option.getOpt()) || opt.equals(option.getLongOpt()))</span>
+<span class="fc bfc" id="L392" title="All 4 branches covered.">            if (opt.equals(option.getOpt()) || opt.equals(option.getLongOpt()))</span>
             {
-<span class="fc" id="L271">                List&lt;String&gt; values = option.getValuesList();</span>
-<span class="fc bfc" id="L272" title="All 2 branches covered.">                if (values.size() &gt;= 2)</span>
+<span class="fc" id="L394">                List&lt;String&gt; values = option.getValuesList();</span>
+<span class="fc bfc" id="L395" title="All 2 branches covered.">                if (values.size() &gt;= 2)</span>
                 {
                     // use the first 2 arguments as the key/value pair
-<span class="fc" id="L275">                    props.put(values.get(0), values.get(1));</span>
+<span class="fc" id="L398">                    props.put(values.get(0), values.get(1));</span>
                 }
-<span class="fc bfc" id="L277" title="All 2 branches covered.">                else if (values.size() == 1)</span>
+<span class="fc bfc" id="L400" title="All 2 branches covered.">                else if (values.size() == 1)</span>
                 {
                     // no explicit value, handle it as a boolean
-<span class="fc" id="L280">                    props.put(values.get(0), &quot;true&quot;);</span>
+<span class="fc" id="L403">                    props.put(values.get(0), &quot;true&quot;);</span>
                 }
             }
-<span class="fc" id="L283">        }</span>
+<span class="fc" id="L406">        }</span>
 
-<span class="fc" id="L285">        return props;</span>
+<span class="fc" id="L408">        return props;</span>
     }
 
     /** 
@@ -292,11 +415,11 @@ public class CommandLine implements Seri
      */
     public String[] getArgs()
     {
-<span class="fc" id="L295">        String[] answer = new String[args.size()];</span>
+<span class="fc" id="L418">        String[] answer = new String[args.size()];</span>
 
-<span class="fc" id="L297">        args.toArray(answer);</span>
+<span class="fc" id="L420">        args.toArray(answer);</span>
 
-<span class="fc" id="L299">        return answer;</span>
+<span class="fc" id="L422">        return answer;</span>
     }
 
     /** 
@@ -306,7 +429,7 @@ public class CommandLine implements Seri
      */
     public List&lt;String&gt; getArgList()
     {
-<span class="fc" id="L309">        return args;</span>
+<span class="fc" id="L432">        return args;</span>
     }
 
     /** 
@@ -338,8 +461,8 @@ public class CommandLine implements Seri
      */
     protected void addArg(String arg)
     {
-<span class="fc" id="L341">        args.add(arg);</span>
-<span class="fc" id="L342">    }</span>
+<span class="fc" id="L464">        args.add(arg);</span>
+<span class="fc" id="L465">    }</span>
 
     /**
      * Add an option to the command line.  The values of the option are stored.
@@ -348,8 +471,8 @@ public class CommandLine implements Seri
      */
     protected void addOption(Option opt)
     {
-<span class="fc" id="L351">        options.add(opt);</span>
-<span class="fc" id="L352">    }</span>
+<span class="fc" id="L474">        options.add(opt);</span>
+<span class="fc" id="L475">    }</span>
 
     /**
      * Returns an iterator over the Option members of CommandLine.
@@ -359,7 +482,7 @@ public class CommandLine implements Seri
      */
     public Iterator&lt;Option&gt; iterator()
     {
-<span class="fc" id="L362">        return options.iterator();</span>
+<span class="fc" id="L485">        return options.iterator();</span>
     }
 
     /**
@@ -369,13 +492,13 @@ public class CommandLine implements Seri
      */
     public Option[] getOptions()
     {
-<span class="fc" id="L372">        Collection&lt;Option&gt; processed = options;</span>
+<span class="fc" id="L495">        Collection&lt;Option&gt; processed = options;</span>
 
         // reinitialise array
-<span class="fc" id="L375">        Option[] optionsArray = new Option[processed.size()];</span>
+<span class="fc" id="L498">        Option[] optionsArray = new Option[processed.size()];</span>
 
         // return the array
-<span class="fc" id="L378">        return processed.toArray(optionsArray);</span>
+<span class="fc" id="L501">        return processed.toArray(optionsArray);</span>
     }
 
     /**
@@ -384,12 +507,12 @@ public class CommandLine implements Seri
      * 
      * @since 1.4
      */
-<span class="fc" id="L387">    public static final class Builder</span>
+<span class="fc" id="L510">    public static final class Builder</span>
     {
         /**
          * CommandLine that is being build by this Builder.
          */
-<span class="fc" id="L392">        private final CommandLine commandLine = new CommandLine();</span>
+<span class="fc" id="L515">        private final CommandLine commandLine = new CommandLine();</span>
 
         /**
          * Add an option to the command line. The values of the option are stored.
@@ -400,8 +523,8 @@ public class CommandLine implements Seri
          */
         public Builder addOption(Option opt)
         {
-<span class="fc" id="L403">            commandLine.addOption(opt);</span>
-<span class="fc" id="L404">            return this;</span>
+<span class="fc" id="L526">            commandLine.addOption(opt);</span>
+<span class="fc" id="L527">            return this;</span>
         }
 
         /**
@@ -413,13 +536,13 @@ public class CommandLine implements Seri
          */
         public Builder addArg(String arg)
         {
-<span class="fc" id="L416">            commandLine.addArg(arg);</span>
-<span class="fc" id="L417">            return this;</span>
+<span class="fc" id="L539">            commandLine.addArg(arg);</span>
+<span class="fc" id="L540">            return this;</span>
         }
 
         public CommandLine build()
         {
-<span class="fc" id="L422">            return commandLine;</span>
+<span class="fc" id="L545">            return commandLine;</span>
         }
     }
 }



Mime
View raw message