From 1d21d70371bf9a577f0f9af7e9dff32a312e2157 Mon Sep 17 00:00:00 2001 From: Colin McDonald Date: Fri, 24 Jun 2016 23:16:42 -0400 Subject: [PATCH] Optimize imports --- src/main/java/net/frozenorb/apiv3/APIv3.java | 2 +- src/main/java/net/frozenorb/apiv3/model/User.java | 5 ++++- .../apiv3/route/users/POSTUsersIdPasswordReset.java | 1 - .../frozenorb/apiv3/route/users/POSTUsersIdSetupTotp.java | 1 - 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/java/net/frozenorb/apiv3/APIv3.java b/src/main/java/net/frozenorb/apiv3/APIv3.java index f63281a..fa90826 100644 --- a/src/main/java/net/frozenorb/apiv3/APIv3.java +++ b/src/main/java/net/frozenorb/apiv3/APIv3.java @@ -51,8 +51,8 @@ import net.frozenorb.apiv3.route.grants.GETGrants; import net.frozenorb.apiv3.route.grants.GETGrantsId; import net.frozenorb.apiv3.route.grants.POSTGrants; import net.frozenorb.apiv3.route.ipBans.DELETEIpBansId; -import net.frozenorb.apiv3.route.ipBans.GETIpBansId; import net.frozenorb.apiv3.route.ipBans.GETIpBans; +import net.frozenorb.apiv3.route.ipBans.GETIpBansId; import net.frozenorb.apiv3.route.ipBans.POSTIpBans; import net.frozenorb.apiv3.route.ipIntel.GETIpInteld; import net.frozenorb.apiv3.route.ipLog.GETIpLogId; diff --git a/src/main/java/net/frozenorb/apiv3/model/User.java b/src/main/java/net/frozenorb/apiv3/model/User.java index 093dba3..e33f07c 100644 --- a/src/main/java/net/frozenorb/apiv3/model/User.java +++ b/src/main/java/net/frozenorb/apiv3/model/User.java @@ -23,7 +23,10 @@ import net.frozenorb.apiv3.maxmind.MaxMindUserType; import net.frozenorb.apiv3.serialization.gson.ExcludeFromReplies; import net.frozenorb.apiv3.serialization.jackson.UuidJsonDeserializer; import net.frozenorb.apiv3.serialization.jackson.UuidJsonSerializer; -import net.frozenorb.apiv3.unsorted.*; +import net.frozenorb.apiv3.unsorted.FutureCompatibilityCallback; +import net.frozenorb.apiv3.unsorted.Permissions; +import net.frozenorb.apiv3.unsorted.RequiresTotpResult; +import net.frozenorb.apiv3.unsorted.TotpAuthorizationResult; import net.frozenorb.apiv3.util.*; import org.bson.Document; diff --git a/src/main/java/net/frozenorb/apiv3/route/users/POSTUsersIdPasswordReset.java b/src/main/java/net/frozenorb/apiv3/route/users/POSTUsersIdPasswordReset.java index 084a4f3..c6c988f 100644 --- a/src/main/java/net/frozenorb/apiv3/route/users/POSTUsersIdPasswordReset.java +++ b/src/main/java/net/frozenorb/apiv3/route/users/POSTUsersIdPasswordReset.java @@ -3,7 +3,6 @@ package net.frozenorb.apiv3.route.users; import com.google.common.collect.ImmutableMap; import com.mongodb.client.result.UpdateResult; import io.vertx.core.Handler; -import io.vertx.core.json.JsonObject; import io.vertx.ext.web.RoutingContext; import net.frozenorb.apiv3.APIv3; import net.frozenorb.apiv3.model.NotificationTemplate; diff --git a/src/main/java/net/frozenorb/apiv3/route/users/POSTUsersIdSetupTotp.java b/src/main/java/net/frozenorb/apiv3/route/users/POSTUsersIdSetupTotp.java index 01c0278..94ecd13 100644 --- a/src/main/java/net/frozenorb/apiv3/route/users/POSTUsersIdSetupTotp.java +++ b/src/main/java/net/frozenorb/apiv3/route/users/POSTUsersIdSetupTotp.java @@ -2,7 +2,6 @@ package net.frozenorb.apiv3.route.users; import com.google.common.collect.ImmutableMap; import com.mongodb.client.result.UpdateResult; -import com.warrenstrange.googleauth.GoogleAuthenticatorKey; import io.vertx.core.Handler; import io.vertx.core.json.JsonObject; import io.vertx.ext.web.RoutingContext;