W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2009

2006/unicorn/src/org/w3c/unicorn/util XHTMLize.java,1.1.2.2,1.1.2.3

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 28 Aug 2009 10:09:20 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MgyOW-0002zG-CY@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/util
In directory hutz:/tmp/cvs-serv11466/src/org/w3c/unicorn/util

Modified Files:
      Tag: dev2
	XHTMLize.java 
Log Message:
renamed parameter from sUnused to sReference

Index: XHTMLize.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/util/Attic/XHTMLize.java,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- XHTMLize.java	28 Aug 2009 10:04:58 -0000	1.1.2.2
+++ XHTMLize.java	28 Aug 2009 10:09:18 -0000	1.1.2.3
@@ -28,7 +28,7 @@
 	/**
 	 * Escape the XML entities for all inserted references.
 	 */
-	public Object referenceInsert(final String sUnused, final Object oValue) {
+	public Object referenceInsert(final String sReference, final Object oValue) {
 		if (oValue == null) {
 			return null;
 		}
@@ -44,7 +44,7 @@
 			Code code = (Code) oValue;
 			return insertCode(code);
 		}
-		if (sUnused.startsWith("$noEscape_"))
+		if (sReference.startsWith("$noEscape_"))
 			return oValue.toString();
 		else
 			return StringEscapeUtils.escapeHtml(oValue.toString());
Received on Friday, 28 August 2009 10:09:31 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:38 UTC