myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r810542 - /myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/util/ResponseUtils.java
Date Wed, 02 Sep 2009 15:11:53 GMT
Author: lofwyr
Date: Wed Sep  2 15:11:53 2009
New Revision: 810542

URL: http://svn.apache.org/viewvc?rev=810542&view=rev
Log:
TOBAGO-791: Tobago doesn't work with Weblogic 8.1
 - catching any error now

Modified:
    myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/util/ResponseUtils.java

Modified: myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/util/ResponseUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/util/ResponseUtils.java?rev=810542&r1=810541&r2=810542&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/util/ResponseUtils.java
(original)
+++ myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/util/ResponseUtils.java
Wed Sep  2 15:11:53 2009
@@ -24,10 +24,6 @@
 import javax.faces.context.FacesContext;
 import javax.servlet.http.HttpServletResponse;
 
-/*
- * Date: Oct 21, 2006
- * Time: 10:39:25 AM
- */
 public class ResponseUtils {
 
   private static final Log LOG = LogFactory.getLog(ResponseUtils.class);
@@ -69,7 +65,7 @@
                   + "'. Setting Content-Type to '" + contentType + "'");
             }
           }
-        } catch (AbstractMethodError e) {
+        } catch (Error e) {
           LOG.warn("The method ServletResponse.getContentType() is not available before Servlet
2.4");
         }
       }



Mime
View raw message