Remove unnecessary NullWriter class.

pull/28/head
Christopher Schultz 8 years ago
parent c1da14be6f
commit 78c8f41e81

@ -932,30 +932,6 @@ public final class QrCode {
} }
static class NullWriter extends java.io.Writer {
@Override
public void write(char[] cbuf, int off, int len)
throws java.io.IOException
{
// Do nothing
}
@Override
public void flush()
throws java.io.IOException
{
// Do nothing
}
@Override
public void close()
throws java.io.IOException
{
// Do nothing
}
}
public static void main(String[] args) { public static void main(String[] args) {
QrCode qr = QrCode.encodeText("Hello, World", Ecc.MEDIUM); QrCode qr = QrCode.encodeText("Hello, World", Ecc.MEDIUM);

Loading…
Cancel
Save