Consistent flushing of given OutputStream
(cherry picked from commit f5d7161d6b)
This commit is contained in:
@@ -105,6 +105,7 @@ public abstract class StreamUtils {
|
||||
Assert.notNull(out, "No OutputStream specified");
|
||||
|
||||
out.write(in);
|
||||
out.flush();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user