Skip to content

Commit

Permalink
review tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Fox committed Feb 18, 2020
1 parent 7638743 commit d93bdea
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import io.vertx.core.http.HttpServerOptions;
import io.vertx.ext.web.Router;
import io.vertx.ext.web.handler.BodyHandler;
import java.util.Objects;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand All @@ -44,9 +45,9 @@ public class ServerVerticle extends AbstractVerticle {

public ServerVerticle(final Endpoints endpoints, final HttpServerOptions httpServerOptions,
final Server server) {
this.endpoints = endpoints;
this.httpServerOptions = httpServerOptions;
this.server = server;
this.endpoints = Objects.requireNonNull(endpoints);
this.httpServerOptions = Objects.requireNonNull(httpServerOptions);
this.server = Objects.requireNonNull(server);
}

@Override
Expand Down

0 comments on commit d93bdea

Please sign in to comment.