File tree Expand file tree Collapse file tree 2 files changed +0
-19
lines changed
main/java/org/springframework/web/reactive/config
test/java/org/springframework/web/reactive/config Expand file tree Collapse file tree 2 files changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -81,9 +81,6 @@ public class WebReactiveConfiguration implements ApplicationContextAware {
8181 private static final boolean jaxb2Present =
8282 ClassUtils .isPresent ("javax.xml.bind.Binder" , WebReactiveConfiguration .class .getClassLoader ());
8383
84- private static final boolean rxJava1Present =
85- ClassUtils .isPresent ("rx.Observable" , WebReactiveConfiguration .class .getClassLoader ());
86-
8784
8885 private PathMatchConfigurer pathMatchConfigurer ;
8986
Original file line number Diff line number Diff line change 2020import java .nio .ByteBuffer ;
2121import java .util .Collections ;
2222import java .util .List ;
23- import java .util .concurrent .CompletableFuture ;
2423import javax .xml .bind .annotation .XmlRootElement ;
2524
2625import org .junit .Before ;
2726import org .junit .Test ;
28- import reactor .core .publisher .Flux ;
29- import reactor .core .publisher .Mono ;
30- import rx .Observable ;
3127
3228import org .springframework .context .ApplicationContext ;
3329import org .springframework .context .annotation .AnnotationConfigApplicationContext ;
@@ -172,18 +168,6 @@ public void customMessageConverterConfig() throws Exception {
172168 assertHasMessageReader (messageReaders , TestBean .class , APPLICATION_XML );
173169 }
174170
175- @ Test
176- public void mvcConversionService () throws Exception {
177- ApplicationContext context = loadConfig (WebReactiveConfiguration .class );
178-
179- String name = "mvcConversionService" ;
180- ConversionService service = context .getBean (name , ConversionService .class );
181- assertNotNull (service );
182-
183- service .canConvert (CompletableFuture .class , Mono .class );
184- service .canConvert (Observable .class , Flux .class );
185- }
186-
187171 @ Test
188172 public void responseEntityResultHandler () throws Exception {
189173 ApplicationContext context = loadConfig (WebReactiveConfiguration .class );
You can’t perform that action at this time.
0 commit comments