langtools/test/tools/doclint/DuplicateReturnTest.java
author joehw
Tue, 09 May 2017 10:34:32 -0700
changeset 45036 4210d32dacab
parent 43374 d312a15c5fcf
permissions -rw-r--r--
8150256: removing xerces-related dead code Reviewed-by: lancea

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

/** . */
public class DuplicateReturnTest {

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