src/share/classes/org/jcp/xml/dsig/internal/dom/DOMSubTreeData.java

Print this page

        

@@ -52,11 +52,11 @@
     public DOMSubTreeData(Node root, boolean excludeComments) {
         this.root = root;
         this.excludeComments = excludeComments;
     }
 
-    public Iterator iterator() {
+    public Iterator<Node> iterator() {
         return new DelayedNodeIterator(root, excludeComments);
     }
 
     public Node getRoot() {
         return root;