mirror of
https://github.com/corda/corda.git
synced 2025-06-17 06:38:21 +00:00
classpath: Closeable & Flushable
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
|
||||
package java.io;
|
||||
|
||||
public abstract class Writer {
|
||||
public abstract class Writer implements Closeable, Flushable {
|
||||
public void write(int c) throws IOException {
|
||||
char[] buffer = new char[] { (char) c };
|
||||
write(buffer);
|
||||
|
Reference in New Issue
Block a user