You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2012/10/13 17:43:40 UTC
svn commit: r1397864 -
/commons/proper/csv/trunk/src/main/java/org/apache/commons/csv/Lexer.java
Author: ggregory
Date: Sat Oct 13 15:43:40 2012
New Revision: 1397864
URL: http://svn.apache.org/viewvc?rev=1397864&view=rev
Log:
Rename method nullMeansDisabled() to mapNullToDisabled()
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=1397864&r1=1397863&r2=1397864&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 Oct 13 15:43:40 2012
@@ -56,14 +56,14 @@ abstract class Lexer {
this.format = format;
this.in = in;
this.delimiter = format.getDelimiter();
- this.escape = nullMeansDisabled(format.getEscape());
- this.encapsulator = nullMeansDisabled(format.getEncapsulator());
- this.commmentStart = nullMeansDisabled(format.getCommentStart());
+ this.escape = mapNullToDisabled(format.getEscape());
+ this.encapsulator = mapNullToDisabled(format.getEncapsulator());
+ this.commmentStart = mapNullToDisabled(format.getCommentStart());
this.ignoreSurroundingSpaces = format.getIgnoreSurroundingSpaces();
this.ignoreEmptyLines = format.getIgnoreEmptyLines();
}
- private final char nullMeansDisabled(Character c) {
+ private final char mapNullToDisabled(Character c) {
return c == null ? DISABLED : c.charValue();
}