Skip to content

Commit 7e43e94

Browse files
committed
Whitespace
1 parent 50e56c6 commit 7e43e94

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ int lookAhead() throws IOException {
118118
super.mark(1);
119119
final int c = super.read();
120120
super.reset();
121-
122121
return c;
123122
}
124123

@@ -137,7 +136,6 @@ char[] lookAhead(final char[] buf) throws IOException {
137136
super.mark(n);
138137
super.read(buf, 0, n);
139138
super.reset();
140-
141139
return buf;
142140
}
143141

@@ -171,11 +169,8 @@ public int read(final char[] buf, final int offset, final int length) throws IOE
171169
if (length == 0) {
172170
return 0;
173171
}
174-
175172
final int len = super.read(buf, offset, length);
176-
177173
if (len > 0) {
178-
179174
for (int i = offset; i < offset + len; i++) {
180175
final char ch = buf[i];
181176
if (ch == LF) {
@@ -186,13 +181,10 @@ public int read(final char[] buf, final int offset, final int length) throws IOE
186181
eolCounter++;
187182
}
188183
}
189-
190184
lastChar = buf[offset + len - 1];
191-
192185
} else if (len == EOF) {
193186
lastChar = EOF;
194187
}
195-
196188
position += len;
197189
return len;
198190
}

0 commit comments

Comments
 (0)