Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/mobile
Path: blob/master/test/langtools/tools/doclint/DuplicateParamTest.java
41144 views
1
/*
2
* @test /nodynamiccopyright/
3
* @bug 8081820
4
* @summary Validate parameter names uniqueness
5
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
6
* @build DocLintTester
7
* @run main DocLintTester -Xmsgs:-reference DuplicateParamTest.java
8
* @run main DocLintTester -ref DuplicateParamTest.out DuplicateParamTest.java
9
*/
10
11
/** . */
12
public 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
26