< prev index next >

src/java.xml/share/classes/com/sun/org/apache/xpath/internal/axes/LocPathIterator.java

Print this page

        

@@ -1,8 +1,8 @@
 /*
- * reserved comment block
- * DO NOT REMOVE OR ALTER!
+ * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
+ * @LastModified: Nov 2017
  */
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.

@@ -292,11 +292,11 @@
    * @return the first node out of the nodeset, or DTM.NULL.
    */
   public int asNode(XPathContext xctxt)
     throws javax.xml.transform.TransformerException
   {
-    DTMIterator iter = (DTMIterator)m_clones.getInstance();
+    DTMIterator iter = m_clones.getInstance();
 
     int current = xctxt.getCurrentNode();
 
     iter.setRoot(current, xctxt);
 
< prev index next >