@@ -0,0 +1,1000 @@
+package net.swisstech.swissarmyknife.io;%0A%0Aimport java.io.IOException;%0Aimport java.io.OutputStream;%0A%0A/** yes, commons-io has something like this too but I don't want to pull in an entire jar for a single class */%0Aclass TeeOutputStream extends OutputStream %7B%0A%0A%09private final OutputStream streamA;%0A%09private final OutputStream streamB;%0A%0A%09public TeeOutputStream(OutputStream streamA, OutputStream streamB) %7B%0A%09%09this.streamA = streamA;%0A%09%09this.streamB = streamB;%0A%09%7D%0A%0A%09@Override%0A%09public void write(int b) throws IOException %7B%0A%09%09streamA.write(b);%0A%09%09streamB.write(b);%0A%09%7D%0A%0A%09@Override%0A%09public void write(byte%5B%5D b) throws IOException %7B%0A%09%09streamA.write(b);%0A%09%09streamB.write(b);%0A%09%7D%0A%0A%09@Override%0A%09public void write(byte%5B%5D b, int off, int len) throws IOException %7B%0A%09%09streamA.write(b, off, len);%0A%09%09streamB.write(b, off, len);%0A%09%7D%0A%0A%09@Override%0A%09public void flush() throws IOException %7B%0A%09%09streamA.flush();%0A%09%09streamB.flush();%0A%09%7D%0A%0A%09@Override%0A%09public void close() throws IOException %7B%0A%09%09streamA.close();%0A%09%09streamB.close();%0A%09%7D%0A%7D%0A

Revert "remove TeeOutputStream, just use the one from commons-io, it's only 90kb"