Fix (harmless?) stack trace from closing output too early. It looked like this:

==========
2009-12-03 01:36:16.726 SEVERE thread-10 com.noelios.restlet.http.HttpServerConverter.commit() An exception occured writing the response entity
java.io.IOException: Stream closed
        at sun.nio.cs.StreamEncoder.ensureOpen(StreamEncoder.java:26)
        [...]
2009-12-03 01:36:16.733::WARN:  Committed before 500 An exception occured writing the response entity
2009-12-03 01:36:16.735 WARNING thread-10 com.noelios.restlet.http.HttpServerHelper.handle() Error while handling an HTTP server call: 
==========
* JobResource.java
    writeHtml(Writer) - do not close writer
This commit is contained in:
nlevitt committed 2009-12-03 01:40:42 +00:00
1 parent 6edbc5181e
commit 19b9833fb4
1 file changed
-1
@@ -476,7 +476,6 @@ public class JobResource extends Resource {
"<input id='asProfile' type='checkbox' name='asProfile'/>" +
"<label for='asProfile'>as profile</label></form>");
pw.println("<hr/>");
pw.close();
}
public String getJobStatusDescription() {