gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java


From: Tuukka Hastrup
Subject: [Gzz-commits] storm/org/nongnu/storm/util HTTPProxy.java
Date: Fri, 25 Apr 2003 07:08:29 -0400

CVSROOT:        /cvsroot/storm
Module name:    storm
Changes by:     Tuukka Hastrup <address@hidden> 03/04/25 07:08:29

Modified files:
        org/nongnu/storm/util: HTTPProxy.java 

Log message:
        removed unneeded close()'s

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/storm/storm/org/nongnu/storm/util/HTTPProxy.java.diff?tr1=1.5&tr2=1.6&r1=text&r2=text

Patches:
Index: storm/org/nongnu/storm/util/HTTPProxy.java
diff -u storm/org/nongnu/storm/util/HTTPProxy.java:1.5 
storm/org/nongnu/storm/util/HTTPProxy.java:1.6
--- storm/org/nongnu/storm/util/HTTPProxy.java:1.5      Thu Apr 24 07:56:46 2003
+++ storm/org/nongnu/storm/util/HTTPProxy.java  Fri Apr 25 07:08:28 2003
@@ -129,7 +129,6 @@
                    byte[] bytes = s.getBytes("US-ASCII");
                    resp.getOutputStream().write(bytes);
                }
-               resp.close();
                return resp;
            } catch(FileNotFoundException e) {
                return resf.makeError(404, "Not found");
@@ -141,7 +140,6 @@
                w.write("The URN in request is invalid.\n");
                w.write("Requested URI: "+req.getRequestURI()+"\n");
                w.close();
-               resp.close();
                return resp;
            } catch(Exception e) {
                e.printStackTrace();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]