File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/csv Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments