Mon, 25 Nov 2013 17:42:28 -0800
8028318: [doclint] doclint will reject existing user-written doc comments using custom tags that follow the recommended rules
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 | } |