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 054dc9140ddfba0f4e3f4a0243b7ce1a0b934e51
Author: Gary D. Gregory <garydgreg...@gmail.com>
AuthorDate: Sat Mar 15 10:26:49 2025 -0400

    Remove unused private method
---
 src/main/java/org/apache/commons/csv/CSVFormat.java | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java 
b/src/main/java/org/apache/commons/csv/CSVFormat.java
index 71b13466..7671ccab 100644
--- a/src/main/java/org/apache/commons/csv/CSVFormat.java
+++ b/src/main/java/org/apache/commons/csv/CSVFormat.java
@@ -40,7 +40,6 @@ import java.util.HashSet;
 import java.util.Objects;
 import java.util.Set;
 import java.util.function.Supplier;
-import java.util.stream.Stream;
 
 import org.apache.commons.codec.binary.Base64OutputStream;
 import org.apache.commons.io.IOUtils;
@@ -2101,10 +2100,6 @@ public final class CSVFormat implements Serializable {
         return useMaxRows() ? stream.limit(getMaxRows()) : stream;
     }
 
-    <T> Stream<T> limit(final Stream<T> stream) {
-        return useMaxRows() ? stream.limit(getMaxRows()) : stream;
-    }
-
     /**
      * Parses the specified content.
      *

Reply via email to