diff --git a/service/src/main/java/org/wildfly/service/capture/FunctionExecutor.java b/service/src/main/java/org/wildfly/service/capture/FunctionExecutor.java index f514fbb0b33..4c4ccef431d 100644 --- a/service/src/main/java/org/wildfly/service/capture/FunctionExecutor.java +++ b/service/src/main/java/org/wildfly/service/capture/FunctionExecutor.java @@ -32,7 +32,7 @@ public R execute(ExceptionFunction function) t } /** - * Executes the given function. + * Executes the specified function, using a value provided by an associated {@link ValueRegistry}. * @param the return type * @param the exception type * @param function a function to execute diff --git a/service/src/main/java/org/wildfly/service/capture/FunctionExecutorRegistry.java b/service/src/main/java/org/wildfly/service/capture/FunctionExecutorRegistry.java index a46b054eff6..a939db50225 100644 --- a/service/src/main/java/org/wildfly/service/capture/FunctionExecutorRegistry.java +++ b/service/src/main/java/org/wildfly/service/capture/FunctionExecutorRegistry.java @@ -12,9 +12,9 @@ */ public interface FunctionExecutorRegistry { /** - * Returns the executor for the specified key. + * Returns the executor for the specified key, if one exists. * @param key a registry key - * @return an executor, or null, if no such executor exists in the registry + * @return the executor for the specified key, or null, if no such executor exists in the registry */ FunctionExecutor getExecutor(K key); }