src/test/java/perf/NopOutputStream.java
raw| 1 | package perf; |
| 2 | |
| 3 | import java.io.IOException; |
| 4 | import java.io.OutputStream; |
| 5 | |
| 6 | class NopOutputStream extends OutputStream |
| 7 | { |
| 8 | public NopOutputStream() { } |
| 9 | |
| 10 | @Override |
| 11 | public void write(int b) throws IOException { } |
| 12 | |
| 13 | @Override |
| 14 | public void write(byte[] b) throws IOException { } |
| 15 | |
| 16 | @Override |
| 17 | public void write(byte[] b, int offset, int len) throws IOException { } |
| 18 | } |