Merge pull request #51555 from vlsi

Closes gh-51555

* gh-51555:
  Fix unrecognized JSpecify nullable annotations
This commit is contained in:
Andy Wilkinson
2026-09-04 09:51:47 +01:00
2 changed files with 2 additions and 2 deletions
@@ -430,7 +430,7 @@ public final class PropertyMapper {
* @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)) {
@@ -416,7 +416,7 @@ public abstract class AbstractWebFluxEndpointHandlerMapping extends RequestMappi
}
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) {