--- /home/cpdev/src/classpath/gnu/xml/transform/CopyNode.java	2005-07-02 21:03:16.000000000 +0000
+++ gnu/xml/transform/CopyNode.java	2005-06-30 05:34:21.000000000 +0000
@@ -56,23 +56,19 @@
 
   final String uas;
 
-  CopyNode(String uas)
+  CopyNode(TemplateNode children, TemplateNode next, String uas)
   {
+    super(children, next);
     this.uas = uas;
   }
 
   TemplateNode clone(Stylesheet stylesheet)
   {
-    TemplateNode ret = new CopyNode(uas);
-    if (children != null)
-      {
-        ret.children = children.clone(stylesheet);
-      }
-    if (next != null)
-      {
-        ret.next = next.clone(stylesheet);
-      }
-    return ret;
+    return new CopyNode((children == null) ? null :
+                        children.clone(stylesheet),
+                        (next == null) ? null :
+                        next.clone(stylesheet),
+                        uas);
   }
 
   void doApply(Stylesheet stylesheet, QName mode,
