Consistent flushing of given OutputStream
This commit is contained in:
parent
82e64af5a5
commit
f5d7161d6b
|
@ -127,6 +127,7 @@ public abstract class StreamUtils {
|
||||||
Assert.notNull(out, "No OutputStream specified");
|
Assert.notNull(out, "No OutputStream specified");
|
||||||
|
|
||||||
out.write(in);
|
out.write(in);
|
||||||
|
out.flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue