Skip to content

Commit

Permalink
ExpressionFunctionParameterValues javadoc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
mP1 committed Dec 6, 2023
1 parent bd44249 commit e822fcd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
import java.util.Optional;

/**
* Wraps an {@link ExpressionFunction} only the apply method remains to implemented by sub-classes.
* A base class for several {@link ExpressionFunction} sub classes that delegates most methods but leaves a few abstract.
*/
abstract class ExpressionFunctionParameterValues<T, C extends ExpressionEvaluationContext> implements ExpressionFunction<T, C> {

static void checkFunction(final ExpressionFunction<?, ?> function) {
Objects.requireNonNull(function, "namedFunction");
Objects.requireNonNull(function, "function");
}

ExpressionFunctionParameterValues(final ExpressionFunction<T, C> function) {
Expand Down Expand Up @@ -59,7 +59,7 @@ public final Class<T> returnType() {
}

/**
* The wrapped namedFunction
* The wrapped function
*/
final ExpressionFunction<T, C> function;

Expand Down

0 comments on commit e822fcd

Please sign in to comment.