This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-csv.git

commit fcb83747a2333651053bdea6d9d9cbd35493a525
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Sep 14 09:50:23 2024 -0400

    Rename internal method
---
 src/test/java/org/apache/commons/csv/perf/PerformanceTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/commons/csv/perf/PerformanceTest.java 
b/src/test/java/org/apache/commons/csv/perf/PerformanceTest.java
index bc28e827..e8a3aa57 100644
--- a/src/test/java/org/apache/commons/csv/perf/PerformanceTest.java
+++ b/src/test/java/org/apache/commons/csv/perf/PerformanceTest.java
@@ -90,7 +90,7 @@ public class PerformanceTest {
         System.out.println(s);
     }
 
-    private long readAll(final BufferedReader in) throws IOException {
+    private long readLines(final BufferedReader in) throws IOException {
         long count = 0;
         while (in.readLine() != null) {
             count++;
@@ -126,7 +126,7 @@ public class PerformanceTest {
             final long startMillis;
             try (final BufferedReader in = createBufferedReader()) {
                 startMillis = System.currentTimeMillis();
-                count = readAll(in);
+                count = readLines(in);
             }
             final long totalMillis = System.currentTimeMillis() - startMillis;
             bestTime = Math.min(totalMillis, bestTime);

Reply via email to