Skip to content

Commit c8527b3

Browse files
dota17garydgregory
authored andcommitted
Fixtypo in the PerformanceTest (apache#55)
1 parent 1d12ed9 commit c8527b3

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/test/java/org/apache/commons/csv/perf/PerformanceTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
/**
3939
* Tests performance.
4040
*
41-
* To run this test, use: mvn test -Dtest=PeformanceTest
41+
* To run this test, use: mvn test -Dtest=PerformanceTest
4242
*/
4343
@SuppressWarnings("boxing") // test code
4444
public class PerformanceTest {
@@ -112,12 +112,11 @@ public void testParseBigFileRepeat() throws Exception {
112112
@Test
113113
public void testReadBigFile() throws Exception {
114114
long bestTime = Long.MAX_VALUE;
115+
long count;
115116
for (int i = 0; i < this.max; i++) {
116117
final long startMillis;
117-
long count;
118118
try (final BufferedReader in = this.createBufferedReader()) {
119119
startMillis = System.currentTimeMillis();
120-
count = 0;
121120
count = this.readAll(in);
122121
}
123122
final long totalMillis = System.currentTimeMillis() - startMillis;

0 commit comments

Comments
 (0)