You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by am...@apache.org on 2002/03/11 23:34:01 UTC

cvs commit: xml-xalan/java/src/org/apache/xalan/xsltc/compiler Step.java

amiro       02/03/11 14:34:01

  Modified:    java/src/org/apache/xalan/xsltc/compiler Step.java
  Log:
  got rid of call to forceNaturalOrder code, Santiago Pericasgeersten
  
  Revision  Changes    Path
  1.30      +1 -17     xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Step.java
  
  Index: Step.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/xsltc/compiler/Step.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- Step.java	1 Feb 2002 20:07:09 -0000	1.29
  +++ Step.java	11 Mar 2002 22:34:01 -0000	1.30
  @@ -1,5 +1,5 @@
   /*
  - * @(#)$Id: Step.java,v 1.29 2002/02/01 20:07:09 tmiller Exp $
  + * @(#)$Id: Step.java,v 1.30 2002/03/11 22:34:01 amiro Exp $
    *
    * The Apache Software License, Version 1.1
    *
  @@ -508,22 +508,6 @@
   		    il.append(new CHECKCAST(cpg.addClass(className)));
   		}
   		il.append(new INVOKESPECIAL(idx));
  -
  -		// Determine if the node set should be generated using the
  -		// natural order of the node set or document order.
  -		// See CurrentNodeListIterator's constructor(s) for details.
  -		SyntaxTreeNode parent = getParent();
  -		while (!(parent instanceof Template)) {
  -		    if (parent == null) break;
  -		    if (parent instanceof ApplyTemplates) {
  -			idx = cpg.addMethodref(CURRENT_NODE_LIST_ITERATOR,
  -					       "forceNaturalOrder",
  -					       "()"+NODE_ITERATOR_SIG);
  -			il.append(new INVOKEVIRTUAL(idx));
  -			break;
  -		    }
  -		    parent = parent.getParent();
  -		}
   	    }
   	}
       }
  
  
  

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