You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by dm...@apache.org on 2004/06/30 00:57:20 UTC

cvs commit: jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri NamespaceResolver.java

dmitri      2004/06/29 15:57:20

  Modified:    jxpath/src/java/org/apache/commons/jxpath/ri
                        NamespaceResolver.java
  Log:
  Fixed a bug having to do with the caching or the reverseMap
  
  Revision  Changes    Path
  1.2       +2 -1      jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri/NamespaceResolver.java
  
  Index: NamespaceResolver.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jxpath/src/java/org/apache/commons/jxpath/ri/NamespaceResolver.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- NamespaceResolver.java	1 Apr 2004 02:55:32 -0000	1.1
  +++ NamespaceResolver.java	29 Jun 2004 22:57:20 -0000	1.2
  @@ -45,6 +45,7 @@
        */
       public void registerNamespace(String prefix, String namespaceURI) {
           namespaceMap.put(prefix, namespaceURI);
  +        reverseMap = null;
       }
       
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org