From 5156a24b4026e9d25eadb7471116a55507163b5f Mon Sep 17 00:00:00 2001 From: Gnat008 Date: Thu, 16 Jun 2016 12:35:49 -0400 Subject: [PATCH] remove unused PurgeTask constructor --- .../java/fr/xephi/authme/task/PurgeTask.java | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/src/main/java/fr/xephi/authme/task/PurgeTask.java b/src/main/java/fr/xephi/authme/task/PurgeTask.java index cd1dadaff..983f48f2c 100644 --- a/src/main/java/fr/xephi/authme/task/PurgeTask.java +++ b/src/main/java/fr/xephi/authme/task/PurgeTask.java @@ -31,28 +31,6 @@ public class PurgeTask extends BukkitRunnable { private int currentPage = 0; - public PurgeTask(CommandSender sender, Set purged - , boolean autoPurge, OfflinePlayer[] offlinePlayers) { - - if (sender instanceof Player) { - this.sender = ((Player) sender).getUniqueId(); - } else { - this.sender = null; - } - - this.toPurge = purged; - this.totalPurgeCount = purged.size(); - this.autoPurging = autoPurge; - this.offlinePlayers = offlinePlayers; - - //this is commented out because I assume all players in the database already have an lowercase name -// toPurge = new HashSet<>(purged.size()); - //make a new list with lowercase names to make the username test based on a hash -// for (String username : purged) { -// toPurge.add(username.toLowerCase()); -// } - } - public PurgeTask(PurgeService service, CommandSender sender, Set toPurge, OfflinePlayer[] offlinePlayers, boolean autoPurging) { this.purgeService = service;