Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ public <R> Always<R> as(Adapter<? super T, ? extends R> adapter) {
* @param consumer the consumer that should accept the value if it's not been
* filtered
*/
public void to(Consumer<@Nullable ? super T> consumer) {
public void to(Consumer<? super @Nullable T> consumer) {
Assert.notNull(consumer, "'consumer' must not be null");
T value = getValue();
if (value == null || test(value)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ private WebServerNamespace getServerNamespace(ServerWebExchange exchange) {
}

private @Nullable Publisher<?> invoke(InvocationContext invocationContext) {
return (@Nullable Publisher<?>) this.invoker.invoke(invocationContext);
return (Publisher<?>) this.invoker.invoke(invocationContext);
}

private Map<String, Object> getArguments(ServerWebExchange exchange, @Nullable Map<String, String> body) {
Expand Down