From 3125397980dfd84dd10218827cfabe4ffda62cc7 Mon Sep 17 00:00:00 2001 From: Ghost_chu <2908803755@qq.com> Date: Fri, 17 Apr 2020 07:42:38 +0800 Subject: [PATCH] Remove useless code Former-commit-id: dd8f91ff73f2b2aeb7bcb959836675e7846e35ff --- .../quickshop/command/subcommand/SubCommand_Convert.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Convert.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Convert.java index 4a6b66dd8..7f3ad2f1c 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Convert.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Convert.java @@ -55,7 +55,6 @@ public class SubCommand_Convert implements CommandProcesser { boolean useSSL = dbCfg.getBoolean("usessl"); DatabaseCore dbCore = new MySQLCore(plugin, Objects.requireNonNull(host, "MySQL host can't be null"), Objects.requireNonNull(user, "MySQL username can't be null"), Objects.requireNonNull(pass, "MySQL password can't be null"), Objects.requireNonNull(database, "MySQL database name can't be null"), Objects.requireNonNull(port, "MySQL port can't be null"), useSSL); Database databaseManager = new Database(dbCore); - DatabaseHelper helper = new DatabaseHelper(plugin, databaseManager); sender.sendMessage(ChatColor.GREEN + "Converting..."); this.transferShops(new DatabaseHelper(plugin, databaseManager), sender); sender.sendMessage(ChatColor.GREEN + "All done, please edit config.yml to mysql to apply changes.");