You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by pb...@apache.org on 2004/01/01 13:31:09 UTC

cvs commit: xml-fop/src/java/org/apache/fop/xml XMLNamespaces.java

pbwest      2004/01/01 04:31:09

  Modified:    src/java/org/apache/fop/xml Tag: FOP_0-20-0_Alt-Design
                        XMLNamespaces.java
  Log:
  Remove intern() call.  Slows processing to no  obvious benefit.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.3   +4 -4      xml-fop/src/java/org/apache/fop/xml/Attic/XMLNamespaces.java
  
  Index: XMLNamespaces.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/xml/Attic/XMLNamespaces.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- XMLNamespaces.java	28 Dec 2003 03:58:54 -0000	1.1.2.2
  +++ XMLNamespaces.java	1 Jan 2004 12:31:08 -0000	1.1.2.3
  @@ -177,7 +177,7 @@
               i = uris.size();
               //System.out.println("****Adding namespace " + uri + " " + i);
               uriIndices.put(uri, Ints.consts.get(i));
  -            uris.add(i, uri.intern());
  +            uris.add(i, uri);
               return i;
           }
           // not null - found the integer
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org