Rename method nullMeansDisabled() to mapNullToDisabled()

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1397864 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2012-10-13 15:43:40 +00:00
parent ef9018bb1e
commit 8f068b60ed
1 changed files with 4 additions and 4 deletions

View File

@ -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();
}