commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1512650 - /commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Lexer.java
Date Sat, 10 Aug 2013 11:46:29 GMT
Author: britter
Date: Sat Aug 10 11:46:28 2013
New Revision: 1512650

URL: http://svn.apache.org/r1512650
Log:
Fix typo

Modified:
    commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Lexer.java

Modified: commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Lexer.java
URL: http://svn.apache.org/viewvc/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Lexer.java?rev=1512650&r1=1512649&r2=1512650&view=diff
==============================================================================
--- commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Lexer.java (original)
+++ commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Lexer.java Sat Aug 10 11:46:28
2013
@@ -49,7 +49,7 @@ final class Lexer {
     private final char delimiter;
     private final char escape;
     private final char quoteChar;
-    private final char commmentStart;
+    private final char commentStart;
 
     private final boolean ignoreSurroundingSpaces;
     private final boolean ignoreEmptyLines;
@@ -63,7 +63,7 @@ final class Lexer {
         this.delimiter = format.getDelimiter();
         this.escape = mapNullToDisabled(format.getEscape());
         this.quoteChar = mapNullToDisabled(format.getQuoteChar());
-        this.commmentStart = mapNullToDisabled(format.getCommentStart());
+        this.commentStart = mapNullToDisabled(format.getCommentStart());
         this.ignoreSurroundingSpaces = format.getIgnoreSurroundingSpaces();
         this.ignoreEmptyLines = format.getIgnoreEmptyLines();
     }
@@ -409,14 +409,14 @@ final class Lexer {
     }
 
     boolean isCommentStart(final int ch) {
-        return ch == commmentStart;
+        return ch == commentStart;
     }
 
     private boolean isMetaChar(final int ch) {
         return ch == delimiter ||
                ch == escape ||
                ch == quoteChar ||
-               ch == commmentStart;
+               ch == commentStart;
     }
 
     /**



Mime
View raw message