From 401028333e90539af69296c9384fe8a607710191 Mon Sep 17 00:00:00 2001 From: Fuzzlemann Date: Tue, 15 Aug 2017 22:13:06 +0200 Subject: [PATCH] Remove some more deprecated methods --- .../main/java/com/djrapitops/plan/Log.java | 24 ----------------- .../data/handling/importing/Importer.java | 27 +------------------ 2 files changed, 1 insertion(+), 50 deletions(-) diff --git a/Plan/src/main/java/com/djrapitops/plan/Log.java b/Plan/src/main/java/com/djrapitops/plan/Log.java index ba0e42dd7..fbb00c77d 100644 --- a/Plan/src/main/java/com/djrapitops/plan/Log.java +++ b/Plan/src/main/java/com/djrapitops/plan/Log.java @@ -119,28 +119,4 @@ public class Log { public static void toLog(String source, Collection e) { Plan.getInstance().getPluginLogger().toLog(source, e); } - - /** - * Logs a message to the a given file with a timestamp. - * - * @param message Message to log to Errors.txt [timestamp] Message - * @param filename Name of the file to write to. - * @deprecated Should no longer be used, may break other log handling mechanisms. - * If exception requires additional information it should be placed in the source string. - */ - @Deprecated - public static void toLog(String message, String filename) { - Plan.getInstance().getPluginLogger().toLog(message, filename); - } - - /** - * Used to get the name for the error log file. - * - * @return Name of the error log file. - * @deprecated Should no longer be used, Errors.txt is handled by a separate class. - */ - @Deprecated - public static String getErrorsFilename() { - return Plan.getInstance().getPluginLogger().getErrorsFilename(); - } } diff --git a/Plan/src/main/java/com/djrapitops/plan/data/handling/importing/Importer.java b/Plan/src/main/java/com/djrapitops/plan/data/handling/importing/Importer.java index 59f3a26c5..43703c51b 100644 --- a/Plan/src/main/java/com/djrapitops/plan/data/handling/importing/Importer.java +++ b/Plan/src/main/java/com/djrapitops/plan/data/handling/importing/Importer.java @@ -33,22 +33,10 @@ public abstract class Importer { /** * Constructor. */ - public Importer() { + Importer() { info = "No info specified"; } - /** - * Import data from users. - * - * @param uuids UUIDs of players to import - * @return Success of import - * @deprecated Use importData(Collection, String...) instead (new system) - */ - @Deprecated - public boolean importData(Collection uuids) { - return importData(uuids, new String[0]); - } - /** * Method used for the import. *

@@ -157,19 +145,6 @@ public abstract class Importer { this.info = info; } - /** - * Import data of a single player. - * - * @param uuid UUID of the player - * @return HandlingInfo used to modify saved userdata. - * @deprecated Deprecated (new system), use importData(UUID, String...) - * instead - */ - @Deprecated - public HandlingInfo importData(UUID uuid) { - return importData(uuid, new String[0]); - } - /** * Method used for getting the HandlingInfo object for the import data. *