We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1d6bec commit 303e85cCopy full SHA for 303e85c
src/main/java/com/codingchili/Model/CSVParser.java
@@ -122,7 +122,7 @@ private void readHeaders() {
122
123
for (long i = 0; i < fileSize; i++) {
124
byte current = get();
125
- if (current == '\r') {
+ if (current == TOKEN_LF || current == TOKEN_CR) {
126
Arrays.stream(new String(buffer.array()).split(","))
127
.map(header -> header.replaceAll("\"", ""))
128
.map(String::trim).forEach(header -> {
0 commit comments