You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2009/09/02 17:11:53 UTC
svn commit: r810542 -
/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/util/ResponseUtils.java
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");
}
}