BAEL-702 - Intro to Vert.x formatting changes

This commit is contained in:
slavisa-baeldung 2017-03-20 15:50:43 +00:00
parent c071c59ada
commit 5294e7d425
5 changed files with 44 additions and 44 deletions

View File

@ -10,6 +10,11 @@ import io.vertx.core.Vertx;
public class HelloVerticle extends AbstractVerticle {
private static final Logger LOGGER = LoggerFactory.getLogger(HelloVerticle.class);
public static void main(String[] args) {
Vertx vertx = Vertx.vertx();
vertx.deployVerticle(new HelloVerticle());
}
@Override
public void start(Future<Void> future) {
LOGGER.info("Welcome to Vertx");
@ -19,10 +24,5 @@ public class HelloVerticle extends AbstractVerticle {
public void stop() {
LOGGER.info("Shutting down application");
}
public static void main(String[] args) {
Vertx vertx = Vertx.vertx();
vertx.deployVerticle(new HelloVerticle());
}
}