Improve javadoc for some addons (#15701)

Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This commit is contained in:
Holger Friedrich
2023-10-08 00:25:04 +02:00
committed by GitHub
parent f8bcfb0c7e
commit f24a4305b8
275 changed files with 547 additions and 406 deletions

View File

@@ -39,7 +39,7 @@ import org.openhab.core.types.State;
/**
* Tests for the Astro Channels state
*
* @see {@link AstroParametrizedTestCases}
* @see AstroParametrizedTestCases
* @author Petar Valchev - Initial contribution
* @author Svilen Valkanov - Reworked to plain unit tests
* @author Erdoan Hadzhiyusein - Adapted the class to work with the new DateTimeType

View File

@@ -31,6 +31,7 @@ public class AbstractHueOSGiTestParent extends JavaOSGiTest {
*
* @param thing the thing
* @param clazz type of thing handler
* @param <T> a ThingHandler or subtype
* @return the thing handler
*/
protected <T extends ThingHandler> T getThingHandler(Thing thing, Class<T> clazz) {

View File

@@ -90,7 +90,6 @@ public final class ReflectionUtil {
* @throws SecurityException if the operation is not allowed.
* @throws IllegalAccessException if the method is enforcing Java language access control and is inaccessible.
* @throws IllegalArgumentException if one of the passed parameters is invalid.
* @throws InvocationTargetException if the invoked method throws an exception.
*/
public static <T> T invokePrivate(Object object, String methodName, Object... parameters)
throws NoSuchMethodException, SecurityException, IllegalAccessException, IllegalArgumentException {
@@ -114,7 +113,6 @@ public final class ReflectionUtil {
* @throws SecurityException if the operation is not allowed.
* @throws IllegalAccessException if the method is enforcing Java language access control and is inaccessible.
* @throws IllegalArgumentException if one of the passed parameters is invalid.
* @throws InvocationTargetException if the invoked method throws an exception.
*/
@SuppressWarnings("unchecked")
public static <T> T invokePrivate(Object object, String methodName, Class<?>[] parameterTypes, Object... parameters)