myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmarinsc...@apache.org
Subject svn commit: r278712 - /myfaces/impl/trunk/src/java/org/apache/myfaces/renderkit/html/HtmlRenderKitImpl.java
Date Mon, 05 Sep 2005 10:53:26 GMT
Author: mmarinschek
Date: Mon Sep  5 03:53:17 2005
New Revision: 278712

URL: http://svn.apache.org/viewcvs?rev=278712&view=rev
Log:
fix MYFACES-498

Modified:
    myfaces/impl/trunk/src/java/org/apache/myfaces/renderkit/html/HtmlRenderKitImpl.java

Modified: myfaces/impl/trunk/src/java/org/apache/myfaces/renderkit/html/HtmlRenderKitImpl.java
URL: http://svn.apache.org/viewcvs/myfaces/impl/trunk/src/java/org/apache/myfaces/renderkit/html/HtmlRenderKitImpl.java?rev=278712&r1=278711&r2=278712&view=diff
==============================================================================
--- myfaces/impl/trunk/src/java/org/apache/myfaces/renderkit/html/HtmlRenderKitImpl.java (original)
+++ myfaces/impl/trunk/src/java/org/apache/myfaces/renderkit/html/HtmlRenderKitImpl.java Mon
Sep  5 03:53:17 2005
@@ -169,10 +169,8 @@
 
         if(selectedContentType==null)
         {
-            log.error("ContentTypeList does not contain a supported content type: " +
+            throw new IllegalArgumentException("ContentTypeList does not contain a supported
content type: " +
                     contentTypeListString);
-
-            selectedContentType = HTML_CONTENT_TYPE;
         }
 
         if(characterEncoding==null)



Mime
View raw message