You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-cvs@xml.apache.org by mr...@apache.org on 2008/11/09 00:09:33 UTC

svn commit: r712449 - /xml/commons/trunk/java/src/org/apache/xml/resolver/Catalog.java

Author: mrglavas
Date: Sat Nov  8 15:09:33 2008
New Revision: 712449

URL: http://svn.apache.org/viewvc?rev=712449&view=rev
Log:
Rename normalizeURI0(String,int) to normalizeURI(String,int).

Modified:
    xml/commons/trunk/java/src/org/apache/xml/resolver/Catalog.java

Modified: xml/commons/trunk/java/src/org/apache/xml/resolver/Catalog.java
URL: http://svn.apache.org/viewvc/xml/commons/trunk/java/src/org/apache/xml/resolver/Catalog.java?rev=712449&r1=712448&r2=712449&view=diff
==============================================================================
--- xml/commons/trunk/java/src/org/apache/xml/resolver/Catalog.java (original)
+++ xml/commons/trunk/java/src/org/apache/xml/resolver/Catalog.java Sat Nov  8 15:09:33 2008
@@ -2133,7 +2133,7 @@
                   || (c == 0x7C) // |
                   || (c == 0x7D) // }
                   || (c == 0x7F)) {
-              return normalizeURI0(uriref, i);
+              return normalizeURI(uriref, i);
           }
       }
       return uriref;
@@ -2146,7 +2146,7 @@
    * @param index The index of the first character which requires escaping.
    * @return The normalized URI reference.
    */
-  private String normalizeURI0(String uriref, int index) {
+  private String normalizeURI(String uriref, int index) {
       final StringBuffer buffer = new StringBuffer();
       for (int i = 0; i < index; ++i) {
           buffer.append(uriref.charAt(i));