author | jjg |
Mon, 14 Oct 2013 12:38:09 -0700 | |
changeset 21017 | f61558e07e14 |
parent 14962 | 19ffdfafbcd2 |
child 30730 | d3ce7619db2c |
permissions | -rw-r--r-- |
14952 | 1 |
/* |
2 |
* @test /nodynamiccopyright/ |
|
21017
f61558e07e14
8026368: doclint does not report empty tags when tag closed implicitly
jjg
parents:
14962
diff
changeset
|
3 |
* @bug 8004832 8026368 |
14962 | 4 |
* @summary Add new doclint package |
14952 | 5 |
* @library .. |
6 |
* @build DocLintTester |
|
7 |
* @run main DocLintTester -ref TrimmingEmptyTag.out TrimmingEmptyTag.java |
|
8 |
*/ |
|
9 |
||
10 |
// tidy: Warning: trimming empty <.*> |
|
11 |
||
12 |
/** |
|
13 |
* <b></b> |
|
14 |
* <table summary=description></table> |
|
15 |
* <table><caption></caption></table> |
|
16 |
* <code></code> |
|
17 |
* <dl></dl> |
|
18 |
* <dl><dt></dt><dd></dd></dl> |
|
19 |
* <font></font> |
|
20 |
* <i></i> |
|
21 |
* <ol></ol> |
|
22 |
* <p></p> |
|
23 |
* <pre></pre> |
|
24 |
* <span></span> |
|
25 |
* <tt></tt> |
|
26 |
* <ul></ul> |
|
27 |
* <ul><li></li></ul> |
|
28 |
*/ |
|
21017
f61558e07e14
8026368: doclint does not report empty tags when tag closed implicitly
jjg
parents:
14962
diff
changeset
|
29 |
public class TrimmingEmptyTag { |
f61558e07e14
8026368: doclint does not report empty tags when tag closed implicitly
jjg
parents:
14962
diff
changeset
|
30 |
/** <p> */ |
f61558e07e14
8026368: doclint does not report empty tags when tag closed implicitly
jjg
parents:
14962
diff
changeset
|
31 |
public void implicitParaEnd_endOfComment() { } |
f61558e07e14
8026368: doclint does not report empty tags when tag closed implicitly
jjg
parents:
14962
diff
changeset
|
32 |
/** <p> <ul><li>text</ul> */ |
f61558e07e14
8026368: doclint does not report empty tags when tag closed implicitly
jjg
parents:
14962
diff
changeset
|
33 |
public void implicitParaEnd_nextBlockTag() { } |
f61558e07e14
8026368: doclint does not report empty tags when tag closed implicitly
jjg
parents:
14962
diff
changeset
|
34 |
} |