Skip to content

Commit 26d0254

Browse files
committed
Replace AbstractVerticle -> VerticleBase
1 parent 2ace4e6 commit 26d0254

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
package io.vertx.tests;
22

3-
import io.vertx.core.AbstractVerticle;
3+
import io.vertx.core.Future;
4+
import io.vertx.core.VerticleBase;
45
import io.vertx.ext.auth.KeyStoreOptions;
56
import io.vertx.ext.auth.jwt.JWTAuth;
67
import io.vertx.ext.auth.jwt.JWTAuthOptions;
78

8-
public class DummyVerticle extends AbstractVerticle {
9+
public class DummyVerticle extends VerticleBase {
910

1011
private static final JWTAuthOptions config = new JWTAuthOptions()
1112
.setKeyStore(new KeyStoreOptions()
1213
.setPath("keystore.jceks")
1314
.setType("jceks")
1415
.setPassword("secret"));
1516

16-
public void start() {
17+
public Future<?> start() throws Exception {
1718
JWTAuth.create(vertx, config);
19+
return super.start();
1820
}
1921
}

0 commit comments

Comments
 (0)