diff --git a/src/main/java/net/frozenorb/apiv3/APIv3.java b/src/main/java/net/frozenorb/apiv3/APIv3.java index 6471e37..bb7d5ac 100644 --- a/src/main/java/net/frozenorb/apiv3/APIv3.java +++ b/src/main/java/net/frozenorb/apiv3/APIv3.java @@ -3,12 +3,10 @@ package net.frozenorb.apiv3; import com.bugsnag.Client; import com.codahale.metrics.Gauge; import com.codahale.metrics.MetricRegistry; -import com.google.common.collect.ImmutableList; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.librato.metrics.LibratoReporter; import com.mongodb.MongoClient; -import com.mongodb.MongoCredential; import com.mongodb.ServerAddress; import lombok.Getter; import net.frozenorb.apiv3.filters.*; diff --git a/src/main/java/net/frozenorb/apiv3/filters/LoggingFilter.java b/src/main/java/net/frozenorb/apiv3/filters/LoggingFilter.java index 05de5bd..d4dc771 100644 --- a/src/main/java/net/frozenorb/apiv3/filters/LoggingFilter.java +++ b/src/main/java/net/frozenorb/apiv3/filters/LoggingFilter.java @@ -1,10 +1,6 @@ package net.frozenorb.apiv3.filters; -import com.codahale.metrics.Histogram; -import com.codahale.metrics.MetricRegistry; -import com.codahale.metrics.Timer; import lombok.extern.slf4j.Slf4j; -import net.frozenorb.apiv3.APIv3; import spark.Filter; import spark.Request; import spark.Response; diff --git a/src/main/java/net/frozenorb/apiv3/filters/MetricsBeforeFilter.java b/src/main/java/net/frozenorb/apiv3/filters/MetricsBeforeFilter.java index e49d57e..059c8b8 100644 --- a/src/main/java/net/frozenorb/apiv3/filters/MetricsBeforeFilter.java +++ b/src/main/java/net/frozenorb/apiv3/filters/MetricsBeforeFilter.java @@ -1,8 +1,5 @@ package net.frozenorb.apiv3.filters; -import com.codahale.metrics.MetricRegistry; -import com.codahale.metrics.Timer; -import net.frozenorb.apiv3.APIv3; import spark.Filter; import spark.Request; import spark.Response; diff --git a/src/main/java/net/frozenorb/apiv3/routes/grants/DELETEGrant.java b/src/main/java/net/frozenorb/apiv3/routes/grants/DELETEGrant.java index d88a7a2..e0184f2 100644 --- a/src/main/java/net/frozenorb/apiv3/routes/grants/DELETEGrant.java +++ b/src/main/java/net/frozenorb/apiv3/routes/grants/DELETEGrant.java @@ -5,7 +5,6 @@ import net.frozenorb.apiv3.auditLog.AuditLog; import net.frozenorb.apiv3.auditLog.AuditLogActionType; import net.frozenorb.apiv3.models.Grant; import net.frozenorb.apiv3.models.User; -import net.frozenorb.apiv3.unsorted.Permissions; import net.frozenorb.apiv3.utils.ErrorUtils; import spark.Request; import spark.Response; diff --git a/src/main/java/net/frozenorb/apiv3/routes/grants/POSTUserGrant.java b/src/main/java/net/frozenorb/apiv3/routes/grants/POSTUserGrant.java index 8325bdd..14bc083 100644 --- a/src/main/java/net/frozenorb/apiv3/routes/grants/POSTUserGrant.java +++ b/src/main/java/net/frozenorb/apiv3/routes/grants/POSTUserGrant.java @@ -5,7 +5,6 @@ import net.frozenorb.apiv3.models.Grant; import net.frozenorb.apiv3.models.Rank; import net.frozenorb.apiv3.models.ServerGroup; import net.frozenorb.apiv3.models.User; -import net.frozenorb.apiv3.unsorted.Permissions; import net.frozenorb.apiv3.utils.ErrorUtils; import spark.Request; import spark.Response; diff --git a/src/main/java/net/frozenorb/apiv3/routes/punishments/DELETEPunishment.java b/src/main/java/net/frozenorb/apiv3/routes/punishments/DELETEPunishment.java index 495e00f..dfa7d9c 100644 --- a/src/main/java/net/frozenorb/apiv3/routes/punishments/DELETEPunishment.java +++ b/src/main/java/net/frozenorb/apiv3/routes/punishments/DELETEPunishment.java @@ -5,7 +5,6 @@ import net.frozenorb.apiv3.auditLog.AuditLog; import net.frozenorb.apiv3.auditLog.AuditLogActionType; import net.frozenorb.apiv3.models.Punishment; import net.frozenorb.apiv3.models.User; -import net.frozenorb.apiv3.unsorted.Permissions; import net.frozenorb.apiv3.utils.ErrorUtils; import spark.Request; import spark.Response; diff --git a/src/main/java/net/frozenorb/apiv3/routes/punishments/POSTUserPunish.java b/src/main/java/net/frozenorb/apiv3/routes/punishments/POSTUserPunish.java index ef712cb..d732d93 100644 --- a/src/main/java/net/frozenorb/apiv3/routes/punishments/POSTUserPunish.java +++ b/src/main/java/net/frozenorb/apiv3/routes/punishments/POSTUserPunish.java @@ -1,10 +1,7 @@ package net.frozenorb.apiv3.routes.punishments; -import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableSet; import net.frozenorb.apiv3.APIv3; -import net.frozenorb.apiv3.auditLog.AuditLog; -import net.frozenorb.apiv3.auditLog.AuditLogActionType; import net.frozenorb.apiv3.models.Punishment; import net.frozenorb.apiv3.models.User; import net.frozenorb.apiv3.unsorted.Permissions; diff --git a/src/main/java/net/frozenorb/apiv3/utils/PermissionUtils.java b/src/main/java/net/frozenorb/apiv3/utils/PermissionUtils.java index 405cbd4..95e2bea 100644 --- a/src/main/java/net/frozenorb/apiv3/utils/PermissionUtils.java +++ b/src/main/java/net/frozenorb/apiv3/utils/PermissionUtils.java @@ -2,7 +2,6 @@ package net.frozenorb.apiv3.utils; import com.google.common.collect.ImmutableMap; import lombok.experimental.UtilityClass; -import net.frozenorb.apiv3.APIv3; import net.frozenorb.apiv3.models.Rank; import java.util.HashMap;