Update to Reactor 2.1.0.BUILD-SNAPSHOT

This commit is contained in:
Stephane Maldini
2015-09-29 23:31:02 +01:00
parent 4ffec61310
commit d20fbffcd0
3 changed files with 4 additions and 8 deletions

View File

@@ -18,7 +18,6 @@ package org.springframework.reactive.web.http;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.reactive.web.http.reactor.RequestHandlerAdapter;
import org.springframework.util.Assert;
import reactor.Environment;
import reactor.bus.selector.Selectors;
import reactor.io.buffer.Buffer;
import reactor.io.net.NetStreams;
@@ -48,8 +47,6 @@ public class ReactorHttpServer extends HttpServerSupport implements Initializing
Assert.notNull(getHttpHandler());
this.reactorHandler = new RequestHandlerAdapter(getHttpHandler());
Environment.initializeIfEmpty();
this.reactorServer = (getPort() != -1 ?
NetStreams.httpServer(getPort()) :
NetStreams.httpServer());