From: Robert Varga Date: Thu, 24 Feb 2022 15:37:46 +0000 (+0100) Subject: Fix javadoc warnings in mdsal-binding-util X-Git-Tag: v9.0.0~28 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=mdsal.git;a=commitdiff_plain;h=2775afbe5f2c82a6add571a35ad16f6521b72489 Fix javadoc warnings in mdsal-binding-util We have a few undocumented generic parameters, fix that up. Change-Id: Ifbe06d528b9333026c1bdc0bd6af73570940ade0 Signed-off-by: Robert Varga --- diff --git a/binding/mdsal-binding-util/src/main/java/org/opendaylight/mdsal/binding/util/ManagedTransactionFactory.java b/binding/mdsal-binding-util/src/main/java/org/opendaylight/mdsal/binding/util/ManagedTransactionFactory.java index f94f56d03b..76e618a72e 100644 --- a/binding/mdsal-binding-util/src/main/java/org/opendaylight/mdsal/binding/util/ManagedTransactionFactory.java +++ b/binding/mdsal-binding-util/src/main/java/org/opendaylight/mdsal/binding/util/ManagedTransactionFactory.java @@ -38,6 +38,9 @@ public interface ManagedTransactionFactory { *

The provided transaction is specific to the given logical datastore type and cannot be used for any * other. * + * @param datastore type + * @param thrown exception type + * @param result type * @param datastoreType the {@link Datastore} type that will be accessed * @param txFunction the {@link InterruptibleCheckedFunction} that needs a new read transaction * @return the result of the function. @@ -59,6 +62,9 @@ public interface ManagedTransactionFactory { *

The provided transaction is specific to the given logical datastore type and cannot be used for any * other. * + * @param datastore type + * @param thrown exception type + * @param result type * @param datastoreType the {@link Datastore} type that will be accessed * @param txFunction the {@link InterruptibleCheckedFunction} that needs a new read transaction * @return the result of the function. @@ -88,6 +94,9 @@ public interface ManagedTransactionFactory { * {@link CompletionStage} * (but better NOT by using the blocking {@link Future#get()} on it). * + * @param datastore type + * @param thrown exception type + * @param result type * @param datastoreType the {@link Datastore} type that will be accessed * @param txFunction the {@link InterruptibleCheckedFunction} that needs a new read-write transaction * @return the {@link FluentFuture} returned by {@link ReadWriteTransaction#commit()}, or a failed future with an @@ -109,6 +118,8 @@ public interface ManagedTransactionFactory { *

The provided transaction is specific to the given logical datastore type and cannot be used for any * other. * + * @param datastore type + * @param thrown exception type * @param datastoreType the {@link Datastore} type that will be accessed * @param txConsumer the {@link InterruptibleCheckedFunction} that needs a new read transaction * @throws E if an error occurs. @@ -129,6 +140,8 @@ public interface ManagedTransactionFactory { *

The provided transaction is specific to the given logical datastore type and cannot be used for any * other. * + * @param datastore type + * @param thrown exception type * @param datastoreType the {@link Datastore} type that will be accessed * @param txConsumer the {@link InterruptibleCheckedFunction} that needs a new read transaction * @throws E if an error occurs. @@ -157,6 +170,8 @@ public interface ManagedTransactionFactory { * {@link CompletionStage} * (but better NOT by using the blocking {@link Future#get()} on it). * + * @param datastore type + * @param thrown exception type * @param datastoreType the {@link Datastore} type that will be accessed * @param txConsumer the {@link InterruptibleCheckedConsumer} that needs a new read-write transaction * @return the {@link FluentFuture} returned by {@link ReadWriteTransaction#commit()}, or a failed future with an @@ -188,6 +203,8 @@ public interface ManagedTransactionFactory { * {@link CompletionStage} * (but better NOT by using the blocking {@link Future#get()} on it). * + * @param datastore type + * @param thrown exception type * @param datastoreType the {@link Datastore} type that will be accessed * @param txConsumer the {@link InterruptibleCheckedConsumer} that needs a new write only transaction * @return the {@link FluentFuture} returned by {@link WriteTransaction#commit()}, or a failed future with an diff --git a/binding/mdsal-binding-util/src/main/java/org/opendaylight/mdsal/binding/util/TypedReadTransaction.java b/binding/mdsal-binding-util/src/main/java/org/opendaylight/mdsal/binding/util/TypedReadTransaction.java index c6556c6ec7..90b3d8e3c9 100644 --- a/binding/mdsal-binding-util/src/main/java/org/opendaylight/mdsal/binding/util/TypedReadTransaction.java +++ b/binding/mdsal-binding-util/src/main/java/org/opendaylight/mdsal/binding/util/TypedReadTransaction.java @@ -53,6 +53,7 @@ public interface TypedReadTransaction extends Transaction { * Executes a {@link QueryExpression}. * * @param query Query to execute + * @param The type of the expected object * @return a FluentFuture containing the result of the query. The Future blocks until the operation is complete. * Once complete: *