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