Skip to content

Commit 454ef91

Browse files
committed
Fixed: Wrong signature of implWrite
1 parent c961474 commit 454ef91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/java.base/share/classes/java/io/OutputStreamWriter.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ public Writer append(CharSequence csq) throws IOException {
235235
}
236236

237237
@Override
238-
void implWrite(CharSequence csq, int start, int end) throws IOException {
239-
se.append(csq, start, end);
238+
void implWrite(CharSequence csq, int off, int len) throws IOException {
239+
se.append(csq, off, off + len);
240240
}
241241

242242
/**

0 commit comments

Comments
 (0)