test/langtools/tools/doclint/DuplicateParamTest.java
author phh
Sat, 30 Nov 2019 14:33:05 -0800
changeset 59330 5b96c12f909d
parent 47216 71c04702a3d5
permissions -rw-r--r--
8234541: C1 emits an empty message when it inlines successfully Summary: Use "inline" as the message when successfull Reviewed-by: thartmann, mdoerr Contributed-by: navy.xliu@gmail.com

/*
 * @test /nodynamiccopyright/
 * @bug 8081820
 * @summary Validate parameter names uniqueness
 * @modules jdk.compiler/com.sun.tools.doclint
 * @build DocLintTester
 * @run main DocLintTester -Xmsgs:-reference DuplicateParamTest.java
 * @run main DocLintTester -ref DuplicateParamTest.out DuplicateParamTest.java
 */

/** . */
public class DuplicateParamTest {

    /**
     * Test.
     *
     * @param s one
     * @param s two
     * @param s three
     *
     * @return number
     */
    public static int Test(String s) { return s.length(); }
}