Browse Source

Consistent flushing of given OutputStream

(cherry picked from commit f5d7161d6b)
pull/23967/head
Juergen Hoeller 5 years ago
parent
commit
560fec51a1
  1. 1
      spring-core/src/main/java/org/springframework/util/StreamUtils.java

1
spring-core/src/main/java/org/springframework/util/StreamUtils.java

@ -105,6 +105,7 @@ public abstract class StreamUtils { @@ -105,6 +105,7 @@ public abstract class StreamUtils {
Assert.notNull(out, "No OutputStream specified");
out.write(in);
out.flush();
}
/**

Loading…
Cancel
Save