DuplicateParamTest.java revision 3928:37c0e34e835c
1/*
2 * @test /nodynamiccopyright/
3 * @bug 8081820
4 * @summary Validate parameter names uniqueness
5 * @modules jdk.compiler/com.sun.tools.doclint
6 * @build DocLintTester
7 * @run main DocLintTester -Xmsgs:-reference DuplicateParamTest.java
8 * @run main DocLintTester -ref DuplicateParamTest.out DuplicateParamTest.java
9 */
10
11/** . */
12public class DuplicateParamTest {
13
14    /**
15     * Test.
16     *
17     * @param s one
18     * @param s two
19     * @param s three
20     *
21     * @return number
22     */
23    public static int Test(String s) { return s.length(); }
24}
25