Skip to content

Commit 8f068b6

Browse files
committed
Rename method nullMeansDisabled() to mapNullToDisabled()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397864 13f79535-47bb-0310-9956-ffa450edef68
1 parent ef9018b commit 8f068b6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/java/org/apache/commons/csv/Lexer.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,14 @@ abstract class Lexer {
5656
this.format = format;
5757
this.in = in;
5858
this.delimiter = format.getDelimiter();
59-
this.escape = nullMeansDisabled(format.getEscape());
60-
this.encapsulator = nullMeansDisabled(format.getEncapsulator());
61-
this.commmentStart = nullMeansDisabled(format.getCommentStart());
59+
this.escape = mapNullToDisabled(format.getEscape());
60+
this.encapsulator = mapNullToDisabled(format.getEncapsulator());
61+
this.commmentStart = mapNullToDisabled(format.getCommentStart());
6262
this.ignoreSurroundingSpaces = format.getIgnoreSurroundingSpaces();
6363
this.ignoreEmptyLines = format.getIgnoreEmptyLines();
6464
}
6565

66-
private final char nullMeansDisabled(Character c) {
66+
private final char mapNullToDisabled(Character c) {
6767
return c == null ? DISABLED : c.charValue();
6868
}
6969

0 commit comments

Comments
 (0)