Fix incorrect Javadoc
diff --git a/tck/src/main/java/com/sun/ts/tests/el/api/jakarta_el/staticfieldelresolver/TCKELClass.java b/tck/src/main/java/com/sun/ts/tests/el/api/jakarta_el/staticfieldelresolver/TCKELClass.java index 01324d9..b09b0b6 100644 --- a/tck/src/main/java/com/sun/ts/tests/el/api/jakarta_el/staticfieldelresolver/TCKELClass.java +++ b/tck/src/main/java/com/sun/ts/tests/el/api/jakarta_el/staticfieldelresolver/TCKELClass.java
@@ -1,5 +1,6 @@ /* - * Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2025 Oracle and/or its affiliates and others. + * All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0, which is available at @@ -31,16 +32,13 @@ private static String privStatic = "privStatic"; /** - * - * @param firstName - * - first name @String - * @param lastName - * - last Name - * @return true is full name matches the given firstName + " " + lastName - * pattern. + * @param name + * - Name to test against firstName + * + * @return true if firstName matches the provided name */ public static boolean isName(String name) { - boolean result = Boolean.FALSE; + boolean result = false; if (name.equals(firstName)) { result = true; @@ -48,5 +46,4 @@ return result; } - }
diff --git a/tck/src/main/java/com/sun/ts/tests/el/common/util/ELTestUtil.java b/tck/src/main/java/com/sun/ts/tests/el/common/util/ELTestUtil.java index a5ef130..bc3c64f 100644 --- a/tck/src/main/java/com/sun/ts/tests/el/common/util/ELTestUtil.java +++ b/tck/src/main/java/com/sun/ts/tests/el/common/util/ELTestUtil.java
@@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2020 Oracle and/or its affiliates and others. + * Copyright (c) 2012, 2025 Oracle and/or its affiliates and others. * All rights reserved. * * This program and the accompanying materials are made available under the @@ -45,7 +45,7 @@ * Checks to see if a NullPointerException is thrown from a given * method(methName) from a given Class(className). use this method for any * none Abstract classes you wish to test. - * + * * @param className * - The Class that has the method under test. * @param methName @@ -54,7 +54,7 @@ * - The type value of the arguments for the method under test. * @param params * - The parameters you are feeding into the method under test. - * + * * @throws Exception */ public static void checkForNPE(String className, String methName, @@ -74,8 +74,8 @@ * method(methName) from a given Class. use this method for any Abstract * classes you wish to test. You can pass in the instantiated class that you * want to test. - * - * @param Class + * + * @param clazz * - The class you want to test. * @param methName * - The method that you want to test. @@ -83,7 +83,7 @@ * - The type value of the arguments for the method under test. * @param params * - The parameters you are feeding into the method under test. - * + * * @throws Exception */ public static void checkForNPE(Class<?> clazz, String methName, @@ -103,7 +103,7 @@ * method(methName) from a given Class. use this method for any Abstract * classes you wish to test. You can pass in the instantiated class that you * want to test. - * + * * @param object * - The Object you want to test. * @param methName @@ -112,7 +112,7 @@ * - The type value of the arguments for the method under test. * @param params * - The parameters you are feeding into the method under test. - * + * * @throws Exception */ public static void checkForNPE(Object object, String methName, @@ -125,7 +125,7 @@ /** * Checks to see if a ClassNotFoundException is thrown - * + * * @param object * - The Object you want to test. * @param methName @@ -134,7 +134,7 @@ * - The type value of the arguments for the method under test. * @param params * - The parameters you are feeding into the method under test. - * + * * @throws Exception */ public static void checkForCNFE(Object object, String methName, @@ -147,7 +147,7 @@ /** * Checks to see if a NoSuchMethodException is thrown - * + * * @param object * - The Object you want to test. * @param methName @@ -156,7 +156,7 @@ * - The type value of the arguments for the method under test. * @param params * - The parameters you are feeding into the method under test. - * + * * @throws Exception */ public static void checkForNSME(Object object, String methName, @@ -171,16 +171,16 @@ /* * Checks to see if a NoSuchMethodException is thrown - * + * * @param object - The Object you want to test. - * + * * @param methName - The method that you want to test. - * + * * @param argTypes - The type value of the arguments for the method under * test. - * + * * @param params - The parameters you are feeding into the method under test. - * + * * @throws Exception */ private static void checkForException(Object object, String methName,
diff --git a/tck/src/main/java/com/sun/ts/tests/el/signaturetest/SigTest.java b/tck/src/main/java/com/sun/ts/tests/el/signaturetest/SigTest.java index dc9cf10..ff0b2b7 100644 --- a/tck/src/main/java/com/sun/ts/tests/el/signaturetest/SigTest.java +++ b/tck/src/main/java/com/sun/ts/tests/el/signaturetest/SigTest.java
@@ -94,12 +94,6 @@ * Called by the test framework to initialize this test. The method simply * retrieves some state information that is necessary to run the test when * when the test framework invokes the run method (actually the test1 method). - * - * @param args - * List of arguments passed to this test. - * @param p - * Properties specified by the test user and passed to this test via - * the test framework. */ public void setup() { try {
diff --git a/tck/src/main/java/com/sun/ts/tests/el/signaturetest/SignatureTestDriver.java b/tck/src/main/java/com/sun/ts/tests/el/signaturetest/SignatureTestDriver.java index 0376379..2290e8d 100644 --- a/tck/src/main/java/com/sun/ts/tests/el/signaturetest/SignatureTestDriver.java +++ b/tck/src/main/java/com/sun/ts/tests/el/signaturetest/SignatureTestDriver.java
@@ -42,8 +42,8 @@ /** * <p> - * Execute the signature test. By default, this method passes the result of - * {@link #createTestArguments(String, String, String, String, String)} and + * Execute the signature test. By default, this method calls + * {@link #createTestArguments(String, String, String, String, String, boolean)} and * passes the result to {@link #runSignatureTest(String, String[])}. * * @param packageListFile