The size shoould be passed to BufferedOutputStream's constructor.
All callers seem to use the default, but that could change.
Change-Id: I874afee6a9114698805e36813781547e6aa328a5
/**
* @see BufferedOutputStream#BufferedOutputStream(OutputStream)
* @param out
+ * underlying output stream
*/
public SafeBufferedOutputStream(OutputStream out) {
super(out);
/**
* @see BufferedOutputStream#BufferedOutputStream(OutputStream, int)
* @param out
+ * underlying output stream
* @param size
+ * buffer size
*/
public SafeBufferedOutputStream(OutputStream out, int size) {
- super(out);
+ super(out, size);
}
@Override