From e214d69350d374a769e59c867f2c50488caf5980 Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Mon, 11 Sep 2017 09:31:43 -0400 Subject: [PATCH] Remove jetbrains annotations inserted by IDE --- .../web/reactive/result/method/annotation/ModelInitializer.java | 2 -- .../result/method/annotation/ModelInitializerTests.java | 2 -- 2 files changed, 4 deletions(-) diff --git a/spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/ModelInitializer.java b/spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/ModelInitializer.java index fd3de94883..6e63700453 100644 --- a/spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/ModelInitializer.java +++ b/spring-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/ModelInitializer.java @@ -23,7 +23,6 @@ import java.util.Map; import java.util.Optional; import java.util.stream.Collectors; -import org.jetbrains.annotations.NotNull; import reactor.core.publisher.Mono; import org.springframework.core.Conventions; @@ -104,7 +103,6 @@ class ModelInitializer { }); } - @NotNull private Mono invokeModelAttributeMethods(BindingContext bindingContext, List modelMethods, ServerWebExchange exchange) { diff --git a/spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/ModelInitializerTests.java b/spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/ModelInitializerTests.java index 528ee9300e..7e15b6946e 100644 --- a/spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/ModelInitializerTests.java +++ b/spring-webflux/src/test/java/org/springframework/web/reactive/result/method/annotation/ModelInitializerTests.java @@ -23,7 +23,6 @@ import java.util.List; import java.util.Map; import java.util.stream.Collectors; -import org.jetbrains.annotations.NotNull; import org.junit.Before; import org.junit.Test; import reactor.core.publisher.Mono; @@ -208,7 +207,6 @@ public class ModelInitializerTests { } - @NotNull private InitBinderBindingContext getBindingContext(Object controller) { List binderMethods =