X-Git-Url: https://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Futils%2Fstreams%2FReplaceOutputStream.java;h=ff871eb815d4b5a8672cfd746449a09524684968;hb=54ceddcd4c023fa4164ee5a8409878e93d9f05ad;hp=dcb020770e003379cd88953d27d4d8bd4bc625bb;hpb=67b76a57e0789b4c2afb0091b9d5bcd120290ed1;p=nikiroo-utils.git diff --git a/src/be/nikiroo/utils/streams/ReplaceOutputStream.java b/src/be/nikiroo/utils/streams/ReplaceOutputStream.java index dcb0207..ff871eb 100644 --- a/src/be/nikiroo/utils/streams/ReplaceOutputStream.java +++ b/src/be/nikiroo/utils/streams/ReplaceOutputStream.java @@ -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;