11/*
2- * Copyright 2002-2020 the original author or authors.
2+ * Copyright 2002-2023 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
2323import org .springframework .util .Assert ;
2424
2525/**
26- * Represents a function that filters an {@link ExecuteFunction execute function }.
26+ * Represents a function that filters an {@link ExecuteFunction}.
2727 *
2828 * <p>The filter is executed when a {@link org.reactivestreams.Subscriber} subscribes
2929 * to the {@link Publisher} returned by the {@link DatabaseClient}.
@@ -47,18 +47,18 @@ public interface StatementFilterFunction {
4747
4848 /**
4949 * Apply this filter to the given {@link Statement} and {@link ExecuteFunction}.
50- * <p>The given {@link ExecuteFunction} represents the next entity in the chain,
51- * to be invoked via {@link ExecuteFunction#execute(Statement)} in
52- * order to proceed with the execution, or not invoked to shortcut the chain.
50+ * <p>The given {@code ExecuteFunction} represents the next entity in the chain,
51+ * to be invoked via {@link ExecuteFunction#execute(Statement)} in order to
52+ * proceed with the execution, or not invoked to short-circuit the chain.
5353 * @param statement the current {@link Statement}
54- * @param next the next execute function in the chain
54+ * @param next the next {@code ExecuteFunction} in the chain
5555 * @return the filtered {@link Result}s.
5656 */
5757 Publisher <? extends Result > filter (Statement statement , ExecuteFunction next );
5858
5959 /**
60- * Return a composed filter function that first applies this filter, and then
61- * applies the given {@code "after"} filter .
60+ * Return a composed filter function that first applies this filter and then
61+ * applies the given {@code afterFilter} .
6262 * @param afterFilter the filter to apply after this filter
6363 * @return the composed filter.
6464 */
0 commit comments