replaced flush() with close()

This commit is contained in:
hns 2001-02-27 21:24:19 +00:00
parent 6b52e4a797
commit 8eb28ffd2e
2 changed files with 2 additions and 2 deletions

View file

@ -173,7 +173,7 @@ public class AcmeServletClient extends HttpServlet{
try {
OutputStream out = new BufferedOutputStream (res.getOutputStream ());
out.write (trans.getContent ());
out.flush ();
out.close ();
} catch(Exception io_e) { System.out.println ("Error in writeResponse: "+io_e); }
}
}

View file

@ -222,7 +222,7 @@ public class ServletClient extends HttpServlet{
try {
OutputStream out = new BufferedOutputStream (res.getOutputStream ());
out.write (trans.getContent ());
out.flush ();
out.close ();
} catch(Exception io_e) {}
}
}