< prev index next >

make/jdk/src/classes/build/tools/jdwpgen/AltNode.java

Print this page

        

@@ -44,19 +44,17 @@
             error("Alt must be in Select");
         }
     }
 
     void document(PrintWriter writer) {
-        writer.println("<tr>");
-        writer.println("<th colspan=\"2\" scope=\"row\">"
-                + indentElement(structIndent,
-                    "Case " + nameNode.name
-                    + " - if <i>" + ((SelectNode)parent).typeNode.name + "</i>" +
-                    " is " + nameNode.value() + ":"));
+        docRowStart(writer);
+        writer.println("<td colspan=" +
+                       (maxStructIndent - structIndent + 1) + ">");
+        writer.println("Case " + nameNode.name + " - if <i>" +
+                       ((SelectNode)parent).typeNode.name +
+                       "</i> is " + nameNode.value() + ":");
         writer.println("<td>" + comment() + "&nbsp;");
-        writer.println("</tr>");
-
         ++structIndent;
         super.document(writer);
         --structIndent;
     }
 
< prev index next >