tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkuhn...@apache.org
Subject svn commit: r545787 - /tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/asset/AssetService.java
Date Sat, 09 Jun 2007 19:38:41 GMT
Author: jkuhnert
Date: Sat Jun  9 12:38:40 2007
New Revision: 545787

URL: http://svn.apache.org/viewvc?view=rev&rev=545787
Log:
Caught wrong exception type previously.

Modified:
    tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/asset/AssetService.java

Modified: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/asset/AssetService.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/asset/AssetService.java?view=diff&rev=545787&r1=545786&r2=545787
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/asset/AssetService.java
(original)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/asset/AssetService.java
Sat Jun  9 12:38:40 2007
@@ -35,7 +35,10 @@
 import org.apache.tapestry.web.WebResponse;
 
 import javax.servlet.http.HttpServletResponse;
-import java.io.*;
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.OutputStream;
 import java.net.URL;
 import java.net.URLConnection;
 import java.text.DateFormat;
@@ -257,7 +260,7 @@
             
             writeAssetContent(cycle, path, resourceConnection);
         }
-        catch (EOFException eof)
+        catch (IOException eof)
         {
             // ignored / expected exceptions happen when browser prematurely abandons connections
- IE does this a lot
         }



Mime
View raw message