You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@commons.apache.org by gg...@apache.org on 2018/01/29 17:25:24 UTC

svn commit: r1024533 [39/46] - in /websites/production/commons/content/proper/commons-csv/archives/1.5: ./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/commons/ apidocs/org/apache/commons/csv/ apidocs/org/apache/commons/csv/class-use/ a...

Added: websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/issues/JiraCsv167Test.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/issues/JiraCsv167Test.html (added)
+++ websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/issues/JiraCsv167Test.html Mon Jan 29 17:25:21 2018
@@ -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>JiraCsv167Test xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/commons/csv/issues/JiraCsv167Test.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>  <strong class="jxr_keyword">package</strong> org.apache.commons.csv.issues;
+<a class="jxr_linenumber" name="L18" href="#L18">18</a>  
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> java.io.BufferedReader;
+<a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> java.io.IOException;
+<a class="jxr_linenumber" name="L21" href="#L21">21</a>  <strong class="jxr_keyword">import</strong> java.io.InputStream;
+<a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">import</strong> java.io.InputStreamReader;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <strong class="jxr_keyword">import</strong> java.io.Reader;
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.csv.CSVFormat;
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.csv.CSVParser;
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.csv.CSVRecord;
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.csv.QuoteMode;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <strong class="jxr_keyword">import</strong> org.junit.Assert;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>  
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/commons/csv/issues/JiraCsv167Test.html">JiraCsv167Test</a> {
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>  
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>      @Test
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> parse() <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>          <strong class="jxr_keyword">int</strong> totcomment = 0;
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>          <strong class="jxr_keyword">int</strong> totrecs = 0;
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>          <strong class="jxr_keyword">try</strong> (<strong class="jxr_keyword">final</strong> BufferedReader br = <strong class="jxr_keyword">new</strong> BufferedReader(getTestInput())) {
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>              String s = <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>              <strong class="jxr_keyword">boolean</strong> lastWasComment = false;
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>              <strong class="jxr_keyword">while</strong> ((s = br.readLine()) != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>                  <strong class="jxr_keyword">if</strong> (s.startsWith(<span class="jxr_string">"#"</span>)) {
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>                      <strong class="jxr_keyword">if</strong> (!lastWasComment) { <em class="jxr_comment">// comments are merged</em>
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>                          totcomment++;
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>                      }
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>                      lastWasComment = <strong class="jxr_keyword">true</strong>;
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>                  } <strong class="jxr_keyword">else</strong> {
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>                      totrecs++;
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>                      lastWasComment = false;
+<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>          }
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>          CSVFormat format = CSVFormat.DEFAULT;
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>          <em class="jxr_comment">//</em>
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>          format = format.withAllowMissingColumnNames(false);
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>          format = format.withCommentMarker('#');
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>          format = format.withDelimiter(',');
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>          format = format.withEscape('&#92;&#92;');
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>          format = format.withHeader(<span class="jxr_string">"author"</span>, <span class="jxr_string">"title"</span>, <span class="jxr_string">"publishDate"</span>);
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>          format = format.withHeaderComments(<span class="jxr_string">"headerComment"</span>);
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>          format = format.withNullString(<span class="jxr_string">"NULL"</span>);
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>          format = format.withIgnoreEmptyLines(<strong class="jxr_keyword">true</strong>);
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>          format = format.withIgnoreSurroundingSpaces(<strong class="jxr_keyword">true</strong>);
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>          format = format.withQuote('&quot;');
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>          format = format.withQuoteMode(QuoteMode.ALL);
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>          format = format.withRecordSeparator('\n');
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>          format = format.withSkipHeaderRecord(false);
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>          <em class="jxr_comment">//</em>
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>          <strong class="jxr_keyword">int</strong> comments = 0;
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>          <strong class="jxr_keyword">int</strong> records = 0;
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>          <strong class="jxr_keyword">try</strong> (<strong class="jxr_keyword">final</strong> CSVParser parser = format.parse(getTestInput())) {
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>              <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">final</strong> CSVRecord csvRecord : parser) {
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>                  records++;
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>                  <strong class="jxr_keyword">if</strong> (csvRecord.hasComment()) {
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>                      comments++;
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>                  }
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>              }
+<a class="jxr_linenumber" name="L78" href="#L78">78</a>          }
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>          <em class="jxr_comment">// Comment lines are concatenated, in this example 4 lines become 2 comments.</em>
+<a class="jxr_linenumber" name="L80" href="#L80">80</a>          Assert.assertEquals(totcomment, comments);
+<a class="jxr_linenumber" name="L81" href="#L81">81</a>          Assert.assertEquals(totrecs, records); <em class="jxr_comment">// records includes the header</em>
+<a class="jxr_linenumber" name="L82" href="#L82">82</a>      }
+<a class="jxr_linenumber" name="L83" href="#L83">83</a>  
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>      <strong class="jxr_keyword">private</strong> Reader getTestInput() {
+<a class="jxr_linenumber" name="L85" href="#L85">85</a>          <strong class="jxr_keyword">final</strong> InputStream is = ClassLoader.getSystemClassLoader().getResourceAsStream(<span class="jxr_string">"csv-167/sample1.csv"</span>);
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>          <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> InputStreamReader(is);
+<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 &#169; 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>

Added: websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/issues/JiraCsv198Test.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/issues/JiraCsv198Test.html (added)
+++ websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/issues/JiraCsv198Test.html Mon Jan 29 17:25:21 2018
@@ -0,0 +1,60 @@
+<!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>JiraCsv198Test xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/commons/csv/issues/JiraCsv198Test.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>  <strong class="jxr_keyword">package</strong> org.apache.commons.csv.issues;
+<a class="jxr_linenumber" name="L18" href="#L18">18</a>  
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> java.io.IOException;
+<a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> java.io.InputStream;
+<a class="jxr_linenumber" name="L21" href="#L21">21</a>  <strong class="jxr_keyword">import</strong> java.io.InputStreamReader;
+<a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">import</strong> java.io.UnsupportedEncodingException;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.csv.CSVFormat;
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.csv.CSVParser;
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.csv.CSVRecord;
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong class="jxr_keyword">import</strong> org.junit.Assert;
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/commons/csv/issues/JiraCsv198Test.html">JiraCsv198Test</a> {
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>  
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> CSVFormat CSV_FORMAT = CSVFormat.EXCEL.withDelimiter('^').withFirstRecordAsHeader();
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>  
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>      @Test
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> test() <strong class="jxr_keyword">throws</strong> UnsupportedEncodingException, IOException {
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>          InputStream pointsOfReference = getClass().getResourceAsStream(<span class="jxr_string">"/CSV-198/optd_por_public.csv"</span>);
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>          Assert.assertNotNull(pointsOfReference);
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>          <strong class="jxr_keyword">try</strong> (@SuppressWarnings(<span class="jxr_string">"resource"</span>)
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>          CSVParser parser = CSV_FORMAT.parse(<strong class="jxr_keyword">new</strong> InputStreamReader(pointsOfReference, <span class="jxr_string">"UTF-8"</span>))) {
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>              <strong class="jxr_keyword">for</strong> (CSVRecord record : parser) {
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>                  String locationType = record.get(<span class="jxr_string">"location_type"</span>);
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>                  Assert.assertNotNull(locationType);
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>              }
+<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>  }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>

Added: websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/issues/JiraCsv203Test.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/issues/JiraCsv203Test.html (added)
+++ websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/issues/JiraCsv203Test.html Mon Jan 29 17:25:21 2018
@@ -0,0 +1,140 @@
+<!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>JiraCsv203Test xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/commons/csv/issues/JiraCsv203Test.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>  <strong class="jxr_keyword">package</strong> org.apache.commons.csv.issues;
+<a class="jxr_linenumber" name="L18" href="#L18">18</a>  
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.csv.CSVFormat;
+<a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.csv.CSVPrinter;
+<a class="jxr_linenumber" name="L21" href="#L21">21</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.csv.QuoteMode;
+<a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">import</strong> org.junit.Assert;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  <em class="jxr_javadoccomment"> * JIRA: &lt;a href="https://issues.apache.org/jira/browse/CSV-203"&gt;withNullString value is printed without quotes when QuoteMode.ALL is specified&lt;/a&gt;</em>
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/commons/csv/issues/JiraCsv203Test.html">JiraCsv203Test</a> {
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>      @Test
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testQuoteModeAll() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>          CSVFormat format = CSVFormat.EXCEL
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>                  .withNullString(<span class="jxr_string">"N/A"</span>)
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>                  .withIgnoreSurroundingSpaces(<strong class="jxr_keyword">true</strong>)
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>                  .withQuoteMode(QuoteMode.ALL);
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>  
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>          StringBuffer buffer = <strong class="jxr_keyword">new</strong> StringBuffer();
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>          CSVPrinter printer = <strong class="jxr_keyword">new</strong> CSVPrinter(buffer, format);
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>          printer.printRecord(<strong class="jxr_keyword">new</strong> Object[] { <strong class="jxr_keyword">null</strong>, <span class="jxr_string">"Hello"</span>, <strong class="jxr_keyword">null</strong>, <span class="jxr_string">"World"</span> });
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>  
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>          Assert.assertEquals(<span class="jxr_string">"\&quot;N/A\&quot;,\&quot;Hello\&quot;,\&quot;N/A\&quot;,\&quot;World\&quot;\r\n"</span>, buffer.toString());
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>      }
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>  
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>      @Test
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testQuoteModeAllNonNull() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>          CSVFormat format = CSVFormat.EXCEL
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>                  .withNullString(<span class="jxr_string">"N/A"</span>)
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>                  .withIgnoreSurroundingSpaces(<strong class="jxr_keyword">true</strong>)
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>                  .withQuoteMode(QuoteMode.ALL_NON_NULL);
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>  
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>          StringBuffer buffer = <strong class="jxr_keyword">new</strong> StringBuffer();
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>          CSVPrinter printer = <strong class="jxr_keyword">new</strong> CSVPrinter(buffer, format);
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>          printer.printRecord(<strong class="jxr_keyword">new</strong> Object[] { <strong class="jxr_keyword">null</strong>, <span class="jxr_string">"Hello"</span>, <strong class="jxr_keyword">null</strong>, <span class="jxr_string">"World"</span> });
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>  
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>          Assert.assertEquals(<span class="jxr_string">"N/A,\&quot;Hello\&quot;,N/A,\&quot;World\&quot;\r\n"</span>, buffer.toString());
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>      }
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>  
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>      @Test
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testWithoutQuoteMode() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>          CSVFormat format = CSVFormat.EXCEL
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>                  .withNullString(<span class="jxr_string">"N/A"</span>)
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>                  .withIgnoreSurroundingSpaces(<strong class="jxr_keyword">true</strong>);
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>  
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>          StringBuffer buffer = <strong class="jxr_keyword">new</strong> StringBuffer();
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>          CSVPrinter printer = <strong class="jxr_keyword">new</strong> CSVPrinter(buffer, format);
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>          printer.printRecord(<strong class="jxr_keyword">new</strong> Object[] { <strong class="jxr_keyword">null</strong>, <span class="jxr_string">"Hello"</span>, <strong class="jxr_keyword">null</strong>, <span class="jxr_string">"World"</span> });
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>  
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>          Assert.assertEquals(<span class="jxr_string">"N/A,Hello,N/A,World\r\n"</span>, buffer.toString());
+<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>      @Test
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testQuoteModeMinimal() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>          CSVFormat format = CSVFormat.EXCEL
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>                  .withNullString(<span class="jxr_string">"N/A"</span>)
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>                  .withIgnoreSurroundingSpaces(<strong class="jxr_keyword">true</strong>)
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>                  .withQuoteMode(QuoteMode.MINIMAL);
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>  
+<a class="jxr_linenumber" name="L78" href="#L78">78</a>          StringBuffer buffer = <strong class="jxr_keyword">new</strong> StringBuffer();
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>          CSVPrinter printer = <strong class="jxr_keyword">new</strong> CSVPrinter(buffer, format);
+<a class="jxr_linenumber" name="L80" href="#L80">80</a>          printer.printRecord(<strong class="jxr_keyword">new</strong> Object[] { <strong class="jxr_keyword">null</strong>, <span class="jxr_string">"Hello"</span>, <strong class="jxr_keyword">null</strong>, <span class="jxr_string">"World"</span> });
+<a class="jxr_linenumber" name="L81" href="#L81">81</a>  
+<a class="jxr_linenumber" name="L82" href="#L82">82</a>          Assert.assertEquals(<span class="jxr_string">"N/A,Hello,N/A,World\r\n"</span>, buffer.toString());
+<a class="jxr_linenumber" name="L83" href="#L83">83</a>      }
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>  
+<a class="jxr_linenumber" name="L85" href="#L85">85</a>      @Test
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testQuoteModeNonNumeric() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L87" href="#L87">87</a>          CSVFormat format = CSVFormat.EXCEL
+<a class="jxr_linenumber" name="L88" href="#L88">88</a>                  .withNullString(<span class="jxr_string">"N/A"</span>)
+<a class="jxr_linenumber" name="L89" href="#L89">89</a>                  .withIgnoreSurroundingSpaces(<strong class="jxr_keyword">true</strong>)
+<a class="jxr_linenumber" name="L90" href="#L90">90</a>                  .withQuoteMode(QuoteMode.NON_NUMERIC);
+<a class="jxr_linenumber" name="L91" href="#L91">91</a>  
+<a class="jxr_linenumber" name="L92" href="#L92">92</a>          StringBuffer buffer = <strong class="jxr_keyword">new</strong> StringBuffer();
+<a class="jxr_linenumber" name="L93" href="#L93">93</a>          CSVPrinter printer = <strong class="jxr_keyword">new</strong> CSVPrinter(buffer, format);
+<a class="jxr_linenumber" name="L94" href="#L94">94</a>          printer.printRecord(<strong class="jxr_keyword">new</strong> Object[] { <strong class="jxr_keyword">null</strong>, <span class="jxr_string">"Hello"</span>, <strong class="jxr_keyword">null</strong>, <span class="jxr_string">"World"</span> });
+<a class="jxr_linenumber" name="L95" href="#L95">95</a>  
+<a class="jxr_linenumber" name="L96" href="#L96">96</a>          Assert.assertEquals(<span class="jxr_string">"N/A,\&quot;Hello\&quot;,N/A,\&quot;World\&quot;\r\n"</span>, buffer.toString());
+<a class="jxr_linenumber" name="L97" href="#L97">97</a>      }
+<a class="jxr_linenumber" name="L98" href="#L98">98</a>  
+<a class="jxr_linenumber" name="L99" href="#L99">99</a>      @Test
+<a class="jxr_linenumber" name="L100" href="#L100">100</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testWithoutNullString() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L101" href="#L101">101</a>         CSVFormat format = CSVFormat.EXCEL
+<a class="jxr_linenumber" name="L102" href="#L102">102</a>                 <em class="jxr_comment">//.withNullString("N/A")</em>
+<a class="jxr_linenumber" name="L103" href="#L103">103</a>                 .withIgnoreSurroundingSpaces(<strong class="jxr_keyword">true</strong>)
+<a class="jxr_linenumber" name="L104" href="#L104">104</a>                 .withQuoteMode(QuoteMode.ALL);
+<a class="jxr_linenumber" name="L105" href="#L105">105</a> 
+<a class="jxr_linenumber" name="L106" href="#L106">106</a>         StringBuffer buffer = <strong class="jxr_keyword">new</strong> StringBuffer();
+<a class="jxr_linenumber" name="L107" href="#L107">107</a>         CSVPrinter printer = <strong class="jxr_keyword">new</strong> CSVPrinter(buffer, format);
+<a class="jxr_linenumber" name="L108" href="#L108">108</a>         printer.printRecord(<strong class="jxr_keyword">new</strong> Object[] { <strong class="jxr_keyword">null</strong>, <span class="jxr_string">"Hello"</span>, <strong class="jxr_keyword">null</strong>, <span class="jxr_string">"World"</span> });
+<a class="jxr_linenumber" name="L109" href="#L109">109</a> 
+<a class="jxr_linenumber" name="L110" href="#L110">110</a>         Assert.assertEquals(<span class="jxr_string">",\&quot;Hello\&quot;,,\&quot;World\&quot;\r\n"</span>, buffer.toString());
+<a class="jxr_linenumber" name="L111" href="#L111">111</a>     }
+<a class="jxr_linenumber" name="L112" href="#L112">112</a> 
+<a class="jxr_linenumber" name="L113" href="#L113">113</a>     @Test
+<a class="jxr_linenumber" name="L114" href="#L114">114</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testWithEmptyValues() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L115" href="#L115">115</a>         CSVFormat format = CSVFormat.EXCEL
+<a class="jxr_linenumber" name="L116" href="#L116">116</a>                 .withNullString(<span class="jxr_string">"N/A"</span>)
+<a class="jxr_linenumber" name="L117" href="#L117">117</a>                 .withIgnoreSurroundingSpaces(<strong class="jxr_keyword">true</strong>)
+<a class="jxr_linenumber" name="L118" href="#L118">118</a>                 .withQuoteMode(QuoteMode.ALL);
+<a class="jxr_linenumber" name="L119" href="#L119">119</a> 
+<a class="jxr_linenumber" name="L120" href="#L120">120</a>         StringBuffer buffer = <strong class="jxr_keyword">new</strong> StringBuffer();
+<a class="jxr_linenumber" name="L121" href="#L121">121</a>         CSVPrinter printer = <strong class="jxr_keyword">new</strong> CSVPrinter(buffer, format);
+<a class="jxr_linenumber" name="L122" href="#L122">122</a>         printer.printRecord(<strong class="jxr_keyword">new</strong> Object[] { <span class="jxr_string">""</span>, <span class="jxr_string">"Hello"</span>, <span class="jxr_string">""</span>, <span class="jxr_string">"World"</span> });
+<a class="jxr_linenumber" name="L123" href="#L123">123</a>         <em class="jxr_comment">//printer.printRecord(new Object[] { null, "Hello", null, "World" });</em>
+<a class="jxr_linenumber" name="L124" href="#L124">124</a> 
+<a class="jxr_linenumber" name="L125" href="#L125">125</a>         Assert.assertEquals(<span class="jxr_string">"\&quot;\&quot;,\&quot;Hello\&quot;,\&quot;\&quot;,\&quot;World\&quot;\r\n"</span>, buffer.toString());
+<a class="jxr_linenumber" name="L126" href="#L126">126</a>     }
+<a class="jxr_linenumber" name="L127" href="#L127">127</a> }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>

Added: websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/issues/JiraCsv213Test.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/issues/JiraCsv213Test.html (added)
+++ websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/issues/JiraCsv213Test.html Mon Jan 29 17:25:21 2018
@@ -0,0 +1,87 @@
+<!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>JiraCsv213Test xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/commons/csv/issues/JiraCsv213Test.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>  <strong class="jxr_keyword">package</strong> org.apache.commons.csv.issues;
+<a class="jxr_linenumber" name="L18" href="#L18">18</a>  
+<a class="jxr_linenumber" name="L19" href="#L19">19</a>  <strong class="jxr_keyword">import</strong> java.io.File;
+<a class="jxr_linenumber" name="L20" href="#L20">20</a>  <strong class="jxr_keyword">import</strong> java.io.FileInputStream;
+<a class="jxr_linenumber" name="L21" href="#L21">21</a>  <strong class="jxr_keyword">import</strong> java.io.IOException;
+<a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">import</strong> java.io.InputStreamReader;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <strong class="jxr_keyword">import</strong> java.nio.charset.StandardCharsets;
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.csv.CSVFormat;
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.csv.CSVParser;
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.csv.CSVRecord;
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.csv.QuoteMode;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <strong class="jxr_keyword">import</strong> org.junit.Ignore;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>  
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>  <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>  <em class="jxr_javadoccomment"> * Tests https://issues.apache.org/jira/browse/CSV-213</em>
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>  <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>  <em class="jxr_javadoccomment"> * This is normal behavior with the current architecture: The iterator() API presents an object that is backed by data</em>
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>  <em class="jxr_javadoccomment"> * in the CSVParser as the parser is streaming over the file. The CSVParser is like a forward-only stream. When you</em>
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>  <em class="jxr_javadoccomment"> * create a new Iterator you are only created a new view on the same position in the parser's stream. For the behavior</em>
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>  <em class="jxr_javadoccomment"> * you want, you need to open a new CSVParser.</em>
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>  <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>  <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>  @Ignore
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/commons/csv/issues/JiraCsv213Test.html">JiraCsv213Test</a> {
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>  
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> createEndChannel(File csvFile) {
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>          <em class="jxr_comment">// @formatter:off</em>
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>          <strong class="jxr_keyword">final</strong> CSVFormat csvFormat =
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>                  CSVFormat.DEFAULT
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>                      .withDelimiter(';')
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>                      .withFirstRecordAsHeader()
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>                      .withRecordSeparator('\n')
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>                      .withQuoteMode(QuoteMode.ALL);
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>          <em class="jxr_comment">// @formatter:on</em>
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>          <strong class="jxr_keyword">try</strong> (CSVParser parser = csvFormat
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>                  .parse(<strong class="jxr_keyword">new</strong> InputStreamReader(<strong class="jxr_keyword">new</strong> FileInputStream(csvFile), StandardCharsets.UTF_8))) {
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>              <strong class="jxr_keyword">if</strong> (parser.iterator().hasNext()) {
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>                  System.out.println(parser.getCurrentLineNumber());
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>                  System.out.println(parser.getRecordNumber());
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>                  <em class="jxr_comment">// get only first record we don't need other's</em>
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>                  CSVRecord firstRecord = parser.iterator().next(); <em class="jxr_comment">// this fails</em>
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>  
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>                  <strong class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>              }
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>          } <strong class="jxr_keyword">catch</strong> (IOException e) {
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>              <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> RuntimeException(<span class="jxr_string">"Error while adding end channel to csv"</span>, e);
+<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>          <strong class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>      }
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>  
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>      @Test
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> test() {
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>          createEndChannel(<strong class="jxr_keyword">new</strong> File(<span class="jxr_string">"src/test/resources/CSV-213/999751170.patch.csv"</span>));
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>      }
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>  }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>

Added: websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/issues/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/issues/package-frame.html (added)
+++ websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/issues/package-frame.html Mon Jan 29 17:25:21 2018
@@ -0,0 +1,36 @@
+
+<!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=UTF-8" />
+		<title>Apache Commons CSV 1.5 Reference Package org.apache.commons.csv.issues</title>
+		<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
+	</head>
+	<body>
+
+		<h3>
+        	<a href="package-summary.html" target="classFrame">org.apache.commons.csv.issues</a>
+      	</h3>
+
+      	<h3>Classes</h3>
+
+      	<ul>
+      		          	<li>
+            	<a href="JiraCsv164Test.html" target="classFrame">JiraCsv164Test</a>
+          	</li>
+          	          	<li>
+            	<a href="JiraCsv167Test.html" target="classFrame">JiraCsv167Test</a>
+          	</li>
+          	          	<li>
+            	<a href="JiraCsv198Test.html" target="classFrame">JiraCsv198Test</a>
+          	</li>
+          	          	<li>
+            	<a href="JiraCsv203Test.html" target="classFrame">JiraCsv203Test</a>
+          	</li>
+          	          	<li>
+            	<a href="JiraCsv213Test.html" target="classFrame">JiraCsv213Test</a>
+          	</li>
+          	      	</ul>
+
+	</body>
+</html>
\ No newline at end of file

Added: websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/issues/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/issues/package-summary.html (added)
+++ websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/issues/package-summary.html Mon Jan 29 17:25:21 2018
@@ -0,0 +1,89 @@
+
+<!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=UTF-8" />
+		<title>Apache Commons CSV 1.5 Reference Package org.apache.commons.csv.issues</title>
+		<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
+	</head>
+	<body>
+		      	<div class="overview">
+        	<ul>
+          		<li>
+            		<a href="../../../../../overview-summary.html">Overview</a>
+          		</li>
+          		<li class="selected">Package</li>
+        	</ul>
+      	</div>
+      	<div class="framenoframe">
+        	<ul>
+          		<li>
+            		<a href="../../../../../index.html" target="_top">FRAMES</a>
+          		</li>
+          		<li>
+            		<a href="package-summary.html" target="_top">NO FRAMES</a>
+          		</li>
+        	</ul>
+      	</div>
+		
+		      	<h2>Package org.apache.commons.csv.issues</h2>
+
+		<table class="summary">
+        	<thead>
+          		<tr>
+            		<th>Class Summary</th>
+          		</tr>
+        	</thead>
+        	<tbody>
+        		            	<tr>
+              		<td>
+                		<a href="JiraCsv164Test.html" target="classFrame">JiraCsv164Test</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="JiraCsv167Test.html" target="classFrame">JiraCsv167Test</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="JiraCsv198Test.html" target="classFrame">JiraCsv198Test</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="JiraCsv203Test.html" target="classFrame">JiraCsv203Test</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="JiraCsv213Test.html" target="classFrame">JiraCsv213Test</a>
+              		</td>
+            	</tr>
+				        	</tbody>
+      	</table>
+		
+		      	<div class="overview">
+        	<ul>
+          		<li>
+            		<a href="../../../../../overview-summary.html">Overview</a>
+          		</li>
+          		<li class="selected">Package</li>
+        	</ul>
+      	</div>
+      	<div class="framenoframe">
+        	<ul>
+          		<li>
+            		<a href="../../../../../index.html" target="_top">FRAMES</a>
+          		</li>
+          		<li>
+            		<a href="package-summary.html" target="_top">NO FRAMES</a>
+          		</li>
+        	</ul>
+      	</div>
+				<hr />
+		<div id="footer">
+			Copyright &#169; 2018 <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-csv/archives/1.5/xref-test/org/apache/commons/csv/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/package-frame.html (added)
+++ websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/package-frame.html Mon Jan 29 17:25:21 2018
@@ -0,0 +1,78 @@
+
+<!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=UTF-8" />
+		<title>Apache Commons CSV 1.5 Reference Package org.apache.commons.csv</title>
+		<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="style" />
+	</head>
+	<body>
+
+		<h3>
+        	<a href="package-summary.html" target="classFrame">org.apache.commons.csv</a>
+      	</h3>
+
+      	<h3>Classes</h3>
+
+      	<ul>
+      		          	<li>
+            	<a href="AssertionsTest.html" target="classFrame">AssertionsTest</a>
+          	</li>
+          	          	<li>
+            	<a href="CSVBenchmark.html" target="classFrame">CSVBenchmark</a>
+          	</li>
+          	          	<li>
+            	<a href="CSVFileParserTest.html" target="classFrame">CSVFileParserTest</a>
+          	</li>
+          	          	<li>
+            	<a href="CSVFormatPredefinedTest.html" target="classFrame">CSVFormatPredefinedTest</a>
+          	</li>
+          	          	<li>
+            	<a href="CSVFormatTest.html" target="classFrame">CSVFormatTest</a>
+          	</li>
+          	          	<li>
+            	<a href="CSVParserTest.html" target="classFrame">CSVParserTest</a>
+          	</li>
+          	          	<li>
+            	<a href="CSVPrinterTest.html" target="classFrame">CSVPrinterTest</a>
+          	</li>
+          	          	<li>
+            	<a href="CSVRecordTest.html" target="classFrame">CSVRecordTest</a>
+          	</li>
+          	          	<li>
+            	<a href="CSVBenchmark.html" target="classFrame">CountingReaderCallback</a>
+          	</li>
+          	          	<li>
+            	<a href="CSVFormatTest.html" target="classFrame">EmptyEnum</a>
+          	</li>
+          	          	<li>
+            	<a href="CSVRecordTest.html" target="classFrame">EnumFixture</a>
+          	</li>
+          	          	<li>
+            	<a href="ExtendedBufferedReaderTest.html" target="classFrame">ExtendedBufferedReaderTest</a>
+          	</li>
+          	          	<li>
+            	<a href="CSVFormatTest.html" target="classFrame">Header</a>
+          	</li>
+          	          	<li>
+            	<a href="LexerTest.html" target="classFrame">LexerTest</a>
+          	</li>
+          	          	<li>
+            	<a href="PerformanceTest.html" target="classFrame">PerformanceTest</a>
+          	</li>
+          	          	<li>
+            	<a href="PerformanceTest.html" target="classFrame">Stats</a>
+          	</li>
+          	          	<li>
+            	<a href="TokenMatchers.html" target="classFrame">TokenMatchers</a>
+          	</li>
+          	          	<li>
+            	<a href="TokenMatchersTest.html" target="classFrame">TokenMatchersTest</a>
+          	</li>
+          	          	<li>
+            	<a href="Utils.html" target="classFrame">Utils</a>
+          	</li>
+          	      	</ul>
+
+	</body>
+</html>
\ No newline at end of file

Added: websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/package-summary.html (added)
+++ websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/package-summary.html Mon Jan 29 17:25:21 2018
@@ -0,0 +1,159 @@
+
+<!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=UTF-8" />
+		<title>Apache Commons CSV 1.5 Reference Package org.apache.commons.csv</title>
+		<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="style" />
+	</head>
+	<body>
+		      	<div class="overview">
+        	<ul>
+          		<li>
+            		<a href="../../../../overview-summary.html">Overview</a>
+          		</li>
+          		<li class="selected">Package</li>
+        	</ul>
+      	</div>
+      	<div class="framenoframe">
+        	<ul>
+          		<li>
+            		<a href="../../../../index.html" target="_top">FRAMES</a>
+          		</li>
+          		<li>
+            		<a href="package-summary.html" target="_top">NO FRAMES</a>
+          		</li>
+        	</ul>
+      	</div>
+		
+		      	<h2>Package org.apache.commons.csv</h2>
+
+		<table class="summary">
+        	<thead>
+          		<tr>
+            		<th>Class Summary</th>
+          		</tr>
+        	</thead>
+        	<tbody>
+        		            	<tr>
+              		<td>
+                		<a href="AssertionsTest.html" target="classFrame">AssertionsTest</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="CSVBenchmark.html" target="classFrame">CSVBenchmark</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="CSVFileParserTest.html" target="classFrame">CSVFileParserTest</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="CSVFormatPredefinedTest.html" target="classFrame">CSVFormatPredefinedTest</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="CSVFormatTest.html" target="classFrame">CSVFormatTest</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="CSVParserTest.html" target="classFrame">CSVParserTest</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="CSVPrinterTest.html" target="classFrame">CSVPrinterTest</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="CSVRecordTest.html" target="classFrame">CSVRecordTest</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="CSVBenchmark.html" target="classFrame">CountingReaderCallback</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="CSVFormatTest.html" target="classFrame">EmptyEnum</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="CSVRecordTest.html" target="classFrame">EnumFixture</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="ExtendedBufferedReaderTest.html" target="classFrame">ExtendedBufferedReaderTest</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="CSVFormatTest.html" target="classFrame">Header</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="LexerTest.html" target="classFrame">LexerTest</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="PerformanceTest.html" target="classFrame">PerformanceTest</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="PerformanceTest.html" target="classFrame">Stats</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="TokenMatchers.html" target="classFrame">TokenMatchers</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="TokenMatchersTest.html" target="classFrame">TokenMatchersTest</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
+                		<a href="Utils.html" target="classFrame">Utils</a>
+              		</td>
+            	</tr>
+				        	</tbody>
+      	</table>
+		
+		      	<div class="overview">
+        	<ul>
+          		<li>
+            		<a href="../../../../overview-summary.html">Overview</a>
+          		</li>
+          		<li class="selected">Package</li>
+        	</ul>
+      	</div>
+      	<div class="framenoframe">
+        	<ul>
+          		<li>
+            		<a href="../../../../index.html" target="_top">FRAMES</a>
+          		</li>
+          		<li>
+            		<a href="package-summary.html" target="_top">NO FRAMES</a>
+          		</li>
+        	</ul>
+      	</div>
+				<hr />
+		<div id="footer">
+			Copyright &#169; 2018 <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-csv/archives/1.5/xref-test/org/apache/commons/csv/perf/PerformanceTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/perf/PerformanceTest.html (added)
+++ websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/perf/PerformanceTest.html Mon Jan 29 17:25:21 2018
@@ -0,0 +1,142 @@
+<!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>PerformanceTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/commons/csv/perf/PerformanceTest.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.csv.perf;
+<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> java.io.BufferedReader;
+<a class="jxr_linenumber" name="L21" href="#L21">21</a>  <strong class="jxr_keyword">import</strong> java.io.File;
+<a class="jxr_linenumber" name="L22" href="#L22">22</a>  <strong class="jxr_keyword">import</strong> java.io.FileInputStream;
+<a class="jxr_linenumber" name="L23" href="#L23">23</a>  <strong class="jxr_keyword">import</strong> java.io.FileNotFoundException;
+<a class="jxr_linenumber" name="L24" href="#L24">24</a>  <strong class="jxr_keyword">import</strong> java.io.FileOutputStream;
+<a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong class="jxr_keyword">import</strong> java.io.FileReader;
+<a class="jxr_linenumber" name="L26" href="#L26">26</a>  <strong class="jxr_keyword">import</strong> java.io.IOException;
+<a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong class="jxr_keyword">import</strong> java.io.InputStream;
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong class="jxr_keyword">import</strong> java.io.OutputStream;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <strong class="jxr_keyword">import</strong> java.io.Reader;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <strong class="jxr_keyword">import</strong> java.util.zip.GZIPInputStream;
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>  
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.csv.CSVFormat;
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.csv.CSVRecord;
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>  <strong class="jxr_keyword">import</strong> org.apache.commons.io.IOUtils;
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>  <strong class="jxr_keyword">import</strong> org.junit.BeforeClass;
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>  <strong class="jxr_keyword">import</strong> org.junit.Test;
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>  
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>  <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>  <em class="jxr_javadoccomment"> * Tests performance.</em>
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>  <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>  <em class="jxr_javadoccomment"> * To run this test, use: mvn test -Dtest=PeformanceTest</em>
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>  <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>  @SuppressWarnings(<span class="jxr_string">"boxing"</span>) <em class="jxr_comment">// test code</em>
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/commons/csv/PerformanceTest.html">PerformanceTest</a> {
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>  
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> max = 10;
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>  
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> File BIG_FILE = <strong class="jxr_keyword">new</strong> File(System.getProperty(<span class="jxr_string">"java.io.tmpdir"</span>), <span class="jxr_string">"worldcitiespop.txt"</span>);
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>  
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>      @BeforeClass
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> setUpClass() <strong class="jxr_keyword">throws</strong> FileNotFoundException, IOException {
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>          <strong class="jxr_keyword">if</strong> (BIG_FILE.exists()) {
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>              System.out.println(String.format(<span class="jxr_string">"Found test fixture %s: %,d bytes."</span>, BIG_FILE, BIG_FILE.length()));
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>              <strong class="jxr_keyword">return</strong>;
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>          }
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>          System.out.println(<span class="jxr_string">"Decompressing test fixture "</span> + BIG_FILE + <span class="jxr_string">"..."</span>);
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>          <strong class="jxr_keyword">try</strong> (<strong class="jxr_keyword">final</strong> InputStream input = <strong class="jxr_keyword">new</strong> GZIPInputStream(
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>                  <strong class="jxr_keyword">new</strong> FileInputStream(<span class="jxr_string">"src/test/resources/perf/worldcitiespop.txt.gz"</span>));
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>                  <strong class="jxr_keyword">final</strong> OutputStream output = <strong class="jxr_keyword">new</strong> FileOutputStream(BIG_FILE)) {
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>              IOUtils.copy(input, output);
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>              System.out.println(String.format(<span class="jxr_string">"Decompressed test fixture %s: %,d bytes."</span>, BIG_FILE, BIG_FILE.length()));
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>          }
+<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>      <strong class="jxr_keyword">private</strong> BufferedReader createBufferedReader() <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>          <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> BufferedReader(<strong class="jxr_keyword">new</strong> FileReader(BIG_FILE));
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>      }
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>  
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">long</strong> parse(<strong class="jxr_keyword">final</strong> Reader in, <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> traverseColumns) <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>          <strong class="jxr_keyword">final</strong> CSVFormat format = CSVFormat.DEFAULT.withIgnoreSurroundingSpaces(false);
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>          <strong class="jxr_keyword">long</strong> recordCount = 0;
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>          <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">final</strong> CSVRecord record : format.parse(in)) {
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>              recordCount++;
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>              <strong class="jxr_keyword">if</strong> (traverseColumns) {
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>                  <strong class="jxr_keyword">for</strong> (@SuppressWarnings(<span class="jxr_string">"unused"</span>) <strong class="jxr_keyword">final</strong> String value : record) {
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>                      <em class="jxr_comment">// do nothing for now</em>
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>                  }
+<a class="jxr_linenumber" name="L78" href="#L78">78</a>              }
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>          }
+<a class="jxr_linenumber" name="L80" href="#L80">80</a>          <strong class="jxr_keyword">return</strong> recordCount;
+<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>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> println(<strong class="jxr_keyword">final</strong> String s) {
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>          System.out.println(s);
+<a class="jxr_linenumber" name="L85" href="#L85">85</a>      }
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>  
+<a class="jxr_linenumber" name="L87" href="#L87">87</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">long</strong> readAll(<strong class="jxr_keyword">final</strong> BufferedReader in) <strong class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="L88" href="#L88">88</a>          <strong class="jxr_keyword">long</strong> count = 0;
+<a class="jxr_linenumber" name="L89" href="#L89">89</a>          <strong class="jxr_keyword">while</strong> (in.readLine() != <strong class="jxr_keyword">null</strong>) {
+<a class="jxr_linenumber" name="L90" href="#L90">90</a>              count++;
+<a class="jxr_linenumber" name="L91" href="#L91">91</a>          }
+<a class="jxr_linenumber" name="L92" href="#L92">92</a>          <strong class="jxr_keyword">return</strong> count;
+<a class="jxr_linenumber" name="L93" href="#L93">93</a>      }
+<a class="jxr_linenumber" name="L94" href="#L94">94</a>  
+<a class="jxr_linenumber" name="L95" href="#L95">95</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">long</strong> testParseBigFile(<strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> traverseColumns) <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L96" href="#L96">96</a>          <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> startMillis = System.currentTimeMillis();
+<a class="jxr_linenumber" name="L97" href="#L97">97</a>          <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> count = <strong class="jxr_keyword">this</strong>.parse(<strong class="jxr_keyword">this</strong>.createBufferedReader(), traverseColumns);
+<a class="jxr_linenumber" name="L98" href="#L98">98</a>          <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> totalMillis = System.currentTimeMillis() - startMillis;
+<a class="jxr_linenumber" name="L99" href="#L99">99</a>          <strong class="jxr_keyword">this</strong>.println(String.format(<span class="jxr_string">"File parsed in %,d milliseconds with Commons CSV: %,d lines."</span>, totalMillis, count));
+<a class="jxr_linenumber" name="L100" href="#L100">100</a>         <strong class="jxr_keyword">return</strong> totalMillis;
+<a class="jxr_linenumber" name="L101" href="#L101">101</a>     }
+<a class="jxr_linenumber" name="L102" href="#L102">102</a> 
+<a class="jxr_linenumber" name="L103" href="#L103">103</a>     @Test
+<a class="jxr_linenumber" name="L104" href="#L104">104</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testParseBigFileRepeat() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L105" href="#L105">105</a>         <strong class="jxr_keyword">long</strong> bestTime = Long.MAX_VALUE;
+<a class="jxr_linenumber" name="L106" href="#L106">106</a>         <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i &lt; <strong class="jxr_keyword">this</strong>.max; i++) {
+<a class="jxr_linenumber" name="L107" href="#L107">107</a>             bestTime = Math.min(<strong class="jxr_keyword">this</strong>.testParseBigFile(false), bestTime);
+<a class="jxr_linenumber" name="L108" href="#L108">108</a>         }
+<a class="jxr_linenumber" name="L109" href="#L109">109</a>         <strong class="jxr_keyword">this</strong>.println(String.format(<span class="jxr_string">"Best time out of %,d is %,d milliseconds."</span>, <strong class="jxr_keyword">this</strong>.max, bestTime));
+<a class="jxr_linenumber" name="L110" href="#L110">110</a>     }
+<a class="jxr_linenumber" name="L111" href="#L111">111</a> 
+<a class="jxr_linenumber" name="L112" href="#L112">112</a>     @Test
+<a class="jxr_linenumber" name="L113" href="#L113">113</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testReadBigFile() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L114" href="#L114">114</a>         <strong class="jxr_keyword">long</strong> bestTime = Long.MAX_VALUE;
+<a class="jxr_linenumber" name="L115" href="#L115">115</a>         <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i &lt; <strong class="jxr_keyword">this</strong>.max; i++) {
+<a class="jxr_linenumber" name="L116" href="#L116">116</a>             <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> startMillis;
+<a class="jxr_linenumber" name="L117" href="#L117">117</a>             <strong class="jxr_keyword">long</strong> count;
+<a class="jxr_linenumber" name="L118" href="#L118">118</a>             <strong class="jxr_keyword">try</strong> (<strong class="jxr_keyword">final</strong> BufferedReader in = <strong class="jxr_keyword">this</strong>.createBufferedReader()) {
+<a class="jxr_linenumber" name="L119" href="#L119">119</a>                 startMillis = System.currentTimeMillis();
+<a class="jxr_linenumber" name="L120" href="#L120">120</a>                 count = 0;
+<a class="jxr_linenumber" name="L121" href="#L121">121</a>                 count = <strong class="jxr_keyword">this</strong>.readAll(in);
+<a class="jxr_linenumber" name="L122" href="#L122">122</a>             }
+<a class="jxr_linenumber" name="L123" href="#L123">123</a>             <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> totalMillis = System.currentTimeMillis() - startMillis;
+<a class="jxr_linenumber" name="L124" href="#L124">124</a>             bestTime = Math.min(totalMillis, bestTime);
+<a class="jxr_linenumber" name="L125" href="#L125">125</a>             <strong class="jxr_keyword">this</strong>.println(String.format(<span class="jxr_string">"File read in %,d milliseconds: %,d lines."</span>, totalMillis, count));
+<a class="jxr_linenumber" name="L126" href="#L126">126</a>         }
+<a class="jxr_linenumber" name="L127" href="#L127">127</a>         <strong class="jxr_keyword">this</strong>.println(String.format(<span class="jxr_string">"Best time out of %,d is %,d milliseconds."</span>, <strong class="jxr_keyword">this</strong>.max, bestTime));
+<a class="jxr_linenumber" name="L128" href="#L128">128</a>     }
+<a class="jxr_linenumber" name="L129" href="#L129">129</a> }
+</pre>
+<hr/>
+<div id="footer">Copyright &#169; 2018 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+</body>
+</html>

Added: websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/perf/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/perf/package-frame.html (added)
+++ websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/perf/package-frame.html Mon Jan 29 17:25:21 2018
@@ -0,0 +1,24 @@
+
+<!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=UTF-8" />
+		<title>Apache Commons CSV 1.5 Reference Package org.apache.commons.csv.perf</title>
+		<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
+	</head>
+	<body>
+
+		<h3>
+        	<a href="package-summary.html" target="classFrame">org.apache.commons.csv.perf</a>
+      	</h3>
+
+      	<h3>Classes</h3>
+
+      	<ul>
+      		          	<li>
+            	<a href="PerformanceTest.html" target="classFrame">PerformanceTest</a>
+          	</li>
+          	      	</ul>
+
+	</body>
+</html>
\ No newline at end of file

Added: websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/perf/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/perf/package-summary.html (added)
+++ websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/org/apache/commons/csv/perf/package-summary.html Mon Jan 29 17:25:21 2018
@@ -0,0 +1,69 @@
+
+<!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=UTF-8" />
+		<title>Apache Commons CSV 1.5 Reference Package org.apache.commons.csv.perf</title>
+		<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
+	</head>
+	<body>
+		      	<div class="overview">
+        	<ul>
+          		<li>
+            		<a href="../../../../../overview-summary.html">Overview</a>
+          		</li>
+          		<li class="selected">Package</li>
+        	</ul>
+      	</div>
+      	<div class="framenoframe">
+        	<ul>
+          		<li>
+            		<a href="../../../../../index.html" target="_top">FRAMES</a>
+          		</li>
+          		<li>
+            		<a href="package-summary.html" target="_top">NO FRAMES</a>
+          		</li>
+        	</ul>
+      	</div>
+		
+		      	<h2>Package org.apache.commons.csv.perf</h2>
+
+		<table class="summary">
+        	<thead>
+          		<tr>
+            		<th>Class Summary</th>
+          		</tr>
+        	</thead>
+        	<tbody>
+        		            	<tr>
+              		<td>
+                		<a href="PerformanceTest.html" target="classFrame">PerformanceTest</a>
+              		</td>
+            	</tr>
+				        	</tbody>
+      	</table>
+		
+		      	<div class="overview">
+        	<ul>
+          		<li>
+            		<a href="../../../../../overview-summary.html">Overview</a>
+          		</li>
+          		<li class="selected">Package</li>
+        	</ul>
+      	</div>
+      	<div class="framenoframe">
+        	<ul>
+          		<li>
+            		<a href="../../../../../index.html" target="_top">FRAMES</a>
+          		</li>
+          		<li>
+            		<a href="package-summary.html" target="_top">NO FRAMES</a>
+          		</li>
+        	</ul>
+      	</div>
+				<hr />
+		<div id="footer">
+			Copyright &#169; 2018 <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-csv/archives/1.5/xref-test/overview-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/overview-frame.html (added)
+++ websites/production/commons/content/proper/commons-csv/archives/1.5/xref-test/overview-frame.html Mon Jan 29 17:25:21 2018
@@ -0,0 +1,31 @@
+
+<!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=UTF-8" />
+		<title>Apache Commons CSV 1.5 Reference</title>
+		<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
+	</head>
+	<body>
+
+		<h3>
+			<a href="allclasses-frame.html" target="packageFrame">All Classes</a>
+		</h3>
+
+		<h3>Packages</h3>
+
+		<ul>
+						<li>
+				<a href="org/apache/commons/csv/package-frame.html" target="packageFrame">org.apache.commons.csv</a>
+			</li>
+						<li>
+				<a href="org/apache/commons/csv/issues/package-frame.html" target="packageFrame">org.apache.commons.csv.issues</a>
+			</li>
+						<li>
+				<a href="org/apache/commons/csv/perf/package-frame.html" target="packageFrame">org.apache.commons.csv.perf</a>
+			</li>
+					</ul>
+
+	</body>
+</html>
+