Merge branch 'master' into streamify
[nikiroo-utils.git] / src / be / nikiroo / utils / streams / ReplaceOutputStream.java
index dcb020770e003379cd88953d27d4d8bd4bc625bb..ff871eb815d4b5a8672cfd746449a09524684968 100644 (file)
@@ -89,7 +89,7 @@ public class ReplaceOutputStream extends BufferedOutputStream {
        }
 
        @Override
-       protected void flush(boolean includingSubStream) throws IOException {
+       public void flush(boolean includingSubStream) throws IOException {
                // Note: very simple, not efficient implementation, sorry.
                while (start < stop) {
                        boolean replaced = false;