You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by ga...@locus.apache.org on 2000/10/08 05:43:20 UTC

cvs commit: xml-xalan/java/src/org/apache/xpath/compiler Compiler.java

garyp       00/10/07 20:43:20

  Modified:    java/src/org/apache/xpath/compiler Compiler.java
  Log:
  Implement new extension handling mechanism
  
  Revision  Changes    Path
  1.5       +2 -3      xml-xalan/java/src/org/apache/xpath/compiler/Compiler.java
  
  Index: Compiler.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xpath/compiler/Compiler.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Compiler.java	2000/09/12 19:17:32	1.4
  +++ Compiler.java	2000/10/08 03:43:20	1.5
  @@ -729,10 +729,9 @@
       opPos++;
       java.lang.String funcName = (java.lang.String)m_tokenQueue[m_opMap[opPos]];
       opPos++;
  -    Function extension 
  -      = new FuncExtFunction(ns, funcName, 
  +    Function extension = new FuncExtFunction(ns, funcName, 
                               // Create a method key, for faster lookup.
  -                            String.valueOf(m_opMap[opPos])+String.valueOf(((Object)this).hashCode()));
  +                            String.valueOf(opPos)+String.valueOf(hashCode()));
       
       try
       {