You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2008/12/29 20:38:28 UTC

svn commit: r729982 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ResponseUtils.java

Author: bommel
Date: Mon Dec 29 11:38:28 2008
New Revision: 729982

URL: http://svn.apache.org/viewvc?rev=729982&view=rev
Log:
TOBAGO-732) Websphere ignores charset if setContentType is called twice

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ResponseUtils.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ResponseUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ResponseUtils.java?rev=729982&r1=729981&r2=729982&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ResponseUtils.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ResponseUtils.java Mon Dec 29 11:38:28 2008
@@ -52,8 +52,7 @@
         response.setContentType(contentType);
       } else {
         if (LOG.isInfoEnabled()) {
-          LOG.info("Reponse already contains Header Content-Type " + response.getContentType() 
-              + ". Ignore setting Content-Type to " + contentType);
+          LOG.info("Reponse already contains Header Content-Type. Ignore setting Content-Type to " + contentType);
         }
       }
     }