From a6e31129e962b3d130a937c5bce795c2f5d03cab Mon Sep 17 00:00:00 2001 From: Colin McDonald Date: Sat, 9 Jul 2016 17:23:02 -0400 Subject: [PATCH] Commit two forgotten files from taking out metrics --- pom.xml | 5 ----- src/main/java/net/frozenorb/apiv3/Main.java | 4 +--- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/pom.xml b/pom.xml index 2ae2003..ebdc559 100644 --- a/pom.xml +++ b/pom.xml @@ -79,11 +79,6 @@ vertx-redis-client 3.3.0 - - io.vertx - vertx-dropwizard-metrics - 3.3.0 - diff --git a/src/main/java/net/frozenorb/apiv3/Main.java b/src/main/java/net/frozenorb/apiv3/Main.java index 28131bb..a427611 100644 --- a/src/main/java/net/frozenorb/apiv3/Main.java +++ b/src/main/java/net/frozenorb/apiv3/Main.java @@ -1,8 +1,6 @@ package net.frozenorb.apiv3; import io.vertx.core.Vertx; -import io.vertx.core.VertxOptions; -import io.vertx.ext.dropwizard.DropwizardMetricsOptions; final class Main { @@ -10,7 +8,7 @@ final class Main { System.setProperty("org.slf4j.simpleLogger.defaultLogLevel", "error"); System.setProperty("org.slf4j.simpleLogger.showThreadName", "false"); System.setProperty("vertx.logger-delegate-factory-class-name", "io.vertx.core.logging.SLF4JLogDelegateFactory"); - Vertx.vertx(new VertxOptions().setMetricsOptions(new DropwizardMetricsOptions().setEnabled(true))).deployVerticle(new APIv3()); + Vertx.vertx().deployVerticle(new APIv3()); } } \ No newline at end of file