myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From manol...@apache.org
Subject svn commit: r379786 - /myfaces/commons/trunk/src/main/java/org/apache/myfaces/renderkit/html/util/HTMLEncoder.java
Date Wed, 22 Feb 2006 15:15:26 GMT
Author: manolito
Date: Wed Feb 22 07:15:24 2006
New Revision: 379786

URL: http://svn.apache.org/viewcvs?rev=379786&view=rev
Log:
bugfix (unused encodeSubsequentBlanksToNbsp method param)

Modified:
    myfaces/commons/trunk/src/main/java/org/apache/myfaces/renderkit/html/util/HTMLEncoder.java

Modified: myfaces/commons/trunk/src/main/java/org/apache/myfaces/renderkit/html/util/HTMLEncoder.java
URL: http://svn.apache.org/viewcvs/myfaces/commons/trunk/src/main/java/org/apache/myfaces/renderkit/html/util/HTMLEncoder.java?rev=379786&r1=379785&r2=379786&view=diff
==============================================================================
--- myfaces/commons/trunk/src/main/java/org/apache/myfaces/renderkit/html/util/HTMLEncoder.java
(original)
+++ myfaces/commons/trunk/src/main/java/org/apache/myfaces/renderkit/html/util/HTMLEncoder.java
Wed Feb 22 07:15:24 2006
@@ -15,9 +15,6 @@
  */
 package org.apache.myfaces.renderkit.html.util;
 
-
-
-
 /**
  * Converts Strings so that they can be used within HTML-Code.
  */
@@ -44,7 +41,7 @@
 	 */
 	public static String encode (String string, boolean encodeNewline, boolean encodeSubsequentBlanksToNbsp)
 	{
-		return encode(string, encodeNewline, true, true);
+		return encode(string, encodeNewline, encodeSubsequentBlanksToNbsp, true);
 	}
 
 	/**



Mime
View raw message