test/tools/doclint/tidy/TrimmingEmptyTag.java

Mon, 14 Oct 2013 12:38:09 -0700

author
jjg
date
Mon, 14 Oct 2013 12:38:09 -0700
changeset 2110
b024fe427d24
parent 1465
a22f23fb7abf
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8026368: doclint does not report empty tags when tag closed implicitly
Reviewed-by: darcy

jjg@1455 1 /*
jjg@1455 2 * @test /nodynamiccopyright/
jjg@2110 3 * @bug 8004832 8026368
jjg@1465 4 * @summary Add new doclint package
jjg@1455 5 * @library ..
jjg@1455 6 * @build DocLintTester
jjg@1455 7 * @run main DocLintTester -ref TrimmingEmptyTag.out TrimmingEmptyTag.java
jjg@1455 8 */
jjg@1455 9
jjg@1455 10 // tidy: Warning: trimming empty <.*>
jjg@1455 11
jjg@1455 12 /**
jjg@1455 13 * <b></b>
jjg@1455 14 * <table summary=description></table>
jjg@1455 15 * <table><caption></caption></table>
jjg@1455 16 * <code></code>
jjg@1455 17 * <dl></dl>
jjg@1455 18 * <dl><dt></dt><dd></dd></dl>
jjg@1455 19 * <font></font>
jjg@1455 20 * <i></i>
jjg@1455 21 * <ol></ol>
jjg@1455 22 * <p></p>
jjg@1455 23 * <pre></pre>
jjg@1455 24 * <span></span>
jjg@1455 25 * <tt></tt>
jjg@1455 26 * <ul></ul>
jjg@1455 27 * <ul><li></li></ul>
jjg@1455 28 */
jjg@2110 29 public class TrimmingEmptyTag {
jjg@2110 30 /** <p> */
jjg@2110 31 public void implicitParaEnd_endOfComment() { }
jjg@2110 32 /** <p> <ul><li>text</ul> */
jjg@2110 33 public void implicitParaEnd_nextBlockTag() { }
jjg@2110 34 }

mercurial