File tree Expand file tree Collapse file tree
main/java/org/apache/commons/csv
site/resources/checkstyle Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,8 +125,8 @@ int lookAhead() throws IOException {
125125 @ Override
126126 public int read () throws IOException {
127127 final int current = super .read ();
128- if ((current == CR || current == LF && lastChar != CR )
129- || (current == END_OF_STREAM && lastChar != CR && lastChar != LF && lastChar != END_OF_STREAM )) {
128+ if ((current == CR || current == LF && lastChar != CR ) ||
129+ (current == END_OF_STREAM && lastChar != CR && lastChar != LF && lastChar != END_OF_STREAM )) {
130130 eolCounter ++;
131131 }
132132 lastChar = current ;
Original file line number Diff line number Diff line change 1919 "-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
2020 "https://checkstyle.org/dtds/suppressions_1_2.dtd">
2121<suppressions >
22- <suppress checks =" LineLength" files =" [\\/]CSVParser\.java$" lines =" 508 " />
22+ <suppress checks =" LineLength" files =" [\\/]CSVParser\.java$" lines =" 511 " />
2323</suppressions >
You can’t perform that action at this time.
0 commit comments