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 122feb5ef60c46e5dc0ea0dac7603415c623e437
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Mon Mar 11 16:05:44 2024 -0400

    Better internal name
    
    Javadoc
---
 src/main/java/org/apache/commons/csv/CSVFormat.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java 
b/src/main/java/org/apache/commons/csv/CSVFormat.java
index c8e566f9..64aed9eb 100644
--- a/src/main/java/org/apache/commons/csv/CSVFormat.java
+++ b/src/main/java/org/apache/commons/csv/CSVFormat.java
@@ -1893,8 +1893,8 @@ public final class CSVFormat implements Serializable {
     /**
      * Tests whether the next characters constitute a delimiter
      *
-     * @param ch
-     *            the current char
+     * @param ch0
+     *            the first char (index 0).
      * @param charSeq
      *            the match char sequence
      * @param startIndex
@@ -1905,8 +1905,8 @@ public final class CSVFormat implements Serializable {
      *            the delimiter length
      * @return true if the match is successful
      */
-    private boolean isDelimiter(final char ch, final CharSequence charSeq, 
final int startIndex, final char[] delimiter, final int delimiterLength) {
-        if (ch != delimiter[0]) {
+    private boolean isDelimiter(final char ch0, final CharSequence charSeq, 
final int startIndex, final char[] delimiter, final int delimiterLength) {
+        if (ch0 != delimiter[0]) {
             return false;
         }
         final int len = charSeq.length();

Reply via email to