--- /home/cpdev/src/classpath/gnu/xml/transform/TemplateNode.java	2006-01-13 17:32:49.000000000 +0000
+++ gnu/xml/transform/TemplateNode.java	2005-09-14 21:51:33.000000000 +0000
@@ -64,7 +64,9 @@
     throws TransformerException
   {
     if (stylesheet.terminated)
-      return;
+      {
+        return;
+      }
     if (Thread.currentThread().isInterrupted())
       {
         // Try to head off any infinite loops at the pass
@@ -89,9 +91,13 @@
   public boolean references(QName var)
   {
     if (children != null && children.references(var))
-      return true;
+      {
+        return true;
+      }
     if (next != null && next.references(var))
-      return true;
+      {
+        return true;
+      }
     return false;
   }
 
@@ -101,30 +107,18 @@
   void list(int depth, PrintStream out, boolean listNext)
   {
     for (int i = 0; i < depth; i++)
-      out.print("  ");
+      {
+        out.print("  ");
+      }
     out.println(toString());
     if (children != null)
-      children.list(depth + 1, out, true);
+      {
+        children.list(depth + 1, out, true);
+      }
     if (listNext && next != null)
-      next.list(depth, out, listNext);
-  }
-
-  /**
-   * Indicates whether the template for which this template node is the
-   * first node specifies the given parameter.
-   */
-  boolean hasParam(QName name)
-  {
-    for (TemplateNode ctx = this; ctx != null; ctx = ctx.next)
       {
-        if (ctx instanceof ParameterNode)
-          {
-            ParameterNode param = (ParameterNode) ctx;
-            if (param.type == Bindings.PARAM && param.name.equals(name))
-              return true;
-          }
+        next.list(depth, out, listNext);
       }
-    return false;
   }
 
 }
