Arjen Poutsma 15 years ago
parent 3504ba3374
commit c254924b4c
  1. 3
      org.springframework.web.servlet/src/test/java/org/springframework/mock/web/DelegatingServletOutputStream.java

@ -54,15 +54,18 @@ public class DelegatingServletOutputStream extends ServletOutputStream {
} }
@Override
public void write(int b) throws IOException { public void write(int b) throws IOException {
this.targetStream.write(b); this.targetStream.write(b);
} }
@Override
public void flush() throws IOException { public void flush() throws IOException {
super.flush(); super.flush();
this.targetStream.flush(); this.targetStream.flush();
} }
@Override
public void close() throws IOException { public void close() throws IOException {
super.close(); super.close();
this.targetStream.close(); this.targetStream.close();

Loading…
Cancel
Save