diff options
Diffstat (limited to 'test/src/jdk/nashorn/test/models/VarArgConstructor.java')
-rw-r--r-- | test/src/jdk/nashorn/test/models/VarArgConstructor.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/src/jdk/nashorn/test/models/VarArgConstructor.java b/test/src/jdk/nashorn/test/models/VarArgConstructor.java index 5f5da30e..6c31627f 100644 --- a/test/src/jdk/nashorn/test/models/VarArgConstructor.java +++ b/test/src/jdk/nashorn/test/models/VarArgConstructor.java @@ -27,14 +27,15 @@ package jdk.nashorn.test.models; import java.util.List; +@SuppressWarnings("javadoc") public class VarArgConstructor { private final String indicator; - public VarArgConstructor(int x, boolean y, List<String> z) { + public VarArgConstructor(final int x, final boolean y, final List<String> z) { indicator = "non-vararg"; } - public VarArgConstructor(int x, boolean y, String... z) { + public VarArgConstructor(final int x, final boolean y, final String... z) { indicator = "vararg"; } |