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 2020/02/06 20:53:02 UTC
svn commit: r1056196 [34/38] - in
/websites/production/commons/content/proper/commons-csv: ./ apidocs/
apidocs/org/apache/commons/csv/ apidocs/org/apache/commons/csv/class-use/
apidocs/src-html/org/apache/commons/csv/ css/ images/ jacoco-aggregate/
jac...
Modified: websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/perf/PerformanceTest.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/perf/PerformanceTest.html (original)
+++ websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/perf/PerformanceTest.html Thu Feb 6 20:53:01 2020
@@ -40,13 +40,13 @@
<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="L35" href="#L35">35</a> <strong class="jxr_keyword">import</strong> org.junit.jupiter.api.BeforeAll;
+<a class="jxr_linenumber" name="L36" href="#L36">36</a> <strong class="jxr_keyword">import</strong> org.junit.jupiter.api.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="L41" href="#L41">41</a> <em class="jxr_javadoccomment"> * To run this test, use: mvn test -Dtest=PerformanceTest</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 name="PerformanceTest" href="../../../../../org/apache/commons/csv/perf/PerformanceTest.html#PerformanceTest">PerformanceTest</a> {
@@ -55,7 +55,7 @@
<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="L50" href="#L50">50</a> @BeforeAll
<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()));
@@ -120,23 +120,22 @@
<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 < <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="L115" href="#L115">115</a> <strong class="jxr_keyword">long</strong> count;
+<a class="jxr_linenumber" name="L116" href="#L116">116</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i < <strong class="jxr_keyword">this</strong>.max; i++) {
+<a class="jxr_linenumber" name="L117" href="#L117">117</a> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> startMillis;
<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> }
+<a class="jxr_linenumber" name="L120" href="#L120">120</a> count = <strong class="jxr_keyword">this</strong>.readAll(in);
+<a class="jxr_linenumber" name="L121" href="#L121">121</a> }
+<a class="jxr_linenumber" name="L122" href="#L122">122</a> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> totalMillis = System.currentTimeMillis() - startMillis;
+<a class="jxr_linenumber" name="L123" href="#L123">123</a> bestTime = Math.min(totalMillis, bestTime);
+<a class="jxr_linenumber" name="L124" href="#L124">124</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="L125" href="#L125">125</a> }
+<a class="jxr_linenumber" name="L126" href="#L126">126</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="L127" href="#L127">127</a> }
+<a class="jxr_linenumber" name="L128" href="#L128">128</a> }
</pre>
<hr/>
-<div id="footer">Copyright © 2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+<div id="footer">Copyright © 2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
</body>
</html>
\ No newline at end of file
Modified: websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/perf/package-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/perf/package-frame.html (original)
+++ websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/perf/package-frame.html Thu Feb 6 20:53:01 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>Apache Commons CSV 1.7 Reference Package org.apache.commons.csv.perf</title>
+ <title>Apache Commons CSV 1.8 Reference Package org.apache.commons.csv.perf</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
<body>
Modified: websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/perf/package-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/perf/package-summary.html (original)
+++ websites/production/commons/content/proper/commons-csv/xref-test/org/apache/commons/csv/perf/package-summary.html Thu Feb 6 20:53:01 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>Apache Commons CSV 1.7 Reference Package org.apache.commons.csv.perf</title>
+ <title>Apache Commons CSV 1.8 Reference Package org.apache.commons.csv.perf</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="style" />
</head>
@@ -23,7 +23,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons CSV 1.7 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons CSV 1.8 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
@@ -81,7 +81,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons CSV 1.7 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons CSV 1.8 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
@@ -101,7 +101,7 @@
</div>
<div id="footer">
- Copyright © 2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.
+ Copyright © 2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.
</div>
</body>
</html>
\ No newline at end of file
Modified: websites/production/commons/content/proper/commons-csv/xref-test/overview-frame.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/xref-test/overview-frame.html (original)
+++ websites/production/commons/content/proper/commons-csv/xref-test/overview-frame.html Thu Feb 6 20:53:01 2020
@@ -4,11 +4,11 @@
<!-- generated by Apache Maven JXR (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>Apache Commons CSV 1.7 Reference</title>
+ <title>Apache Commons CSV 1.8 Reference</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
</head>
<body>
- <h1 title="Apache Commons CSV 1.7 Reference" class="bar"><strong>Apache Commons CSV 1.7 Reference</strong></h1>
+ <h1 title="Apache Commons CSV 1.8 Reference" class="bar"><strong>Apache Commons CSV 1.8 Reference</strong></h1>
<div class="indexHeader"><span><a href="allclasses-frame.html" target="packageFrame">All Classes</a></span></div>
<div class="indexContainer">
<h2 title="Packages">Packages</h2>
Modified: websites/production/commons/content/proper/commons-csv/xref-test/overview-summary.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/xref-test/overview-summary.html (original)
+++ websites/production/commons/content/proper/commons-csv/xref-test/overview-summary.html Thu Feb 6 20:53:01 2020
@@ -4,7 +4,7 @@
<!-- generated by Apache Maven JXR (jdk7) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>Apache Commons CSV 1.7 Reference</title>
+ <title>Apache Commons CSV 1.8 Reference</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
</head>
<body>
@@ -22,7 +22,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons CSV 1.7 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons CSV 1.8 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
@@ -37,7 +37,7 @@
</div>
<div class="header">
- <h1 class="title">Apache Commons CSV 1.7 Reference</h1>
+ <h1 class="title">Apache Commons CSV 1.8 Reference</h1>
</div>
<div class="contentContainer">
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Packages table, listing packages">
@@ -81,7 +81,7 @@
<li>Index</li>
<li>Help</li>
</ul>
- <div class="aboutLanguage"><em><strong>Apache Commons CSV 1.7 Reference</strong></em></div>
+ <div class="aboutLanguage"><em><strong>Apache Commons CSV 1.8 Reference</strong></em></div>
</div>
<div class="subNav">
<ul class="navList">
@@ -96,7 +96,7 @@
</div>
<div id="footer">
- Copyright © 2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.
+ Copyright © 2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.
</div>
</body>
</html>
\ No newline at end of file
Modified: websites/production/commons/content/proper/commons-csv/xref/index.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/xref/index.html (original)
+++ websites/production/commons/content/proper/commons-csv/xref/index.html Thu Feb 6 20:53:01 2020
@@ -4,7 +4,7 @@
<!-- this is a JXR report set (jdk8) -->
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>Apache Commons CSV 1.7 Reference</title>
+ <title>Apache Commons CSV 1.8 Reference</title>
<script type="text/javascript">
tmpTargetPage = "" + window.location.search;
if (tmpTargetPage != "" && tmpTargetPage != "undefined")
Modified: websites/production/commons/content/proper/commons-csv/xref/org/apache/commons/csv/Assertions.html
==============================================================================
--- websites/production/commons/content/proper/commons-csv/xref/org/apache/commons/csv/Assertions.html (original)
+++ websites/production/commons/content/proper/commons-csv/xref/org/apache/commons/csv/Assertions.html Thu Feb 6 20:53:01 2020
@@ -46,6 +46,6 @@
<a class="jxr_linenumber" name="L38" href="#L38">38</a> }
</pre>
<hr/>
-<div id="footer">Copyright © 2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
+<div id="footer">Copyright © 2020 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</div>
</body>
</html>
\ No newline at end of file