BAEL-702 - Intro to Vert.x formatting changes
This commit is contained in:
parent
c071c59ada
commit
5294e7d425
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue