8081820: javadoc does not report warnings in case of multiple "@param" tags for the same parameter and multiple "@return" tags for the same method.
Reviewed-by: jjg
Contributed-by: istomin.den@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(); }
}