langtools/test/tools/doclint/tidy/AnchorAlreadyDefined.java
author jjg
Mon, 17 Dec 2012 07:47:05 -0800
changeset 14952 d0022ae20516
child 14962 19ffdfafbcd2
permissions -rw-r--r--
8004832: Add new doclint package Reviewed-by: mcimadamore
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14952
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     1
/*
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     2
 * @test /nodynamiccopyright/
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     3
 * @library ..
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     4
 * @build DocLintTester
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     5
 * @run main DocLintTester -ref AnchorAlreadyDefined.out AnchorAlreadyDefined.java
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     6
 */
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     7
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     8
// tidy: Warning: <.*> anchor ".*" already defined
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
     9
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    10
/**
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    11
 * <a name="here">valid</a>
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    12
 * <a name="here">duplicate</a>
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    13
 * <h1 id="here">duplicate</h1>
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    14
 */
d0022ae20516 8004832: Add new doclint package
jjg
parents:
diff changeset
    15
public class AnchorAlreadyDefined { }