Skip to content

Commit

Permalink
Javadoc clarifications.
Browse files Browse the repository at this point in the history
  • Loading branch information
pferraro committed Oct 30, 2024
1 parent ba6891e commit af36fb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public <R, E extends Exception> R execute(ExceptionFunction<V, R, E> function) t
}

/**
* Executes the given function.
* Executes the specified function, using a value provided by an associated {@link ValueRegistry}.
* @param <R> the return type
* @param <E> the exception type
* @param function a function to execute
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
*/
public interface FunctionExecutorRegistry<K, V> {
/**
* 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<V> getExecutor(K key);
}

0 comments on commit af36fb1

Please sign in to comment.