From 6129aca0b370fd2f68e8ce6fc4de8ca47281c765 Mon Sep 17 00:00:00 2001 From: Seggan Date: Tue, 7 May 2024 15:10:24 -0400 Subject: [PATCH] Undeprecate the CsCore stuff for now --- .../mrCookieSlime/CSCoreLibPlugin/Configuration/Config.java | 4 +--- .../CSCoreLibPlugin/general/Inventory/ChestMenu.java | 3 --- .../CSCoreLibPlugin/general/Inventory/ClickAction.java | 2 -- .../CSCoreLibPlugin/general/Inventory/MenuListener.java | 5 +---- .../java/me/mrCookieSlime/CSCoreLibPlugin/package-info.java | 1 - src/main/java/me/mrCookieSlime/package-info.java | 1 - 6 files changed, 2 insertions(+), 14 deletions(-) diff --git a/src/main/java/me/mrCookieSlime/CSCoreLibPlugin/Configuration/Config.java b/src/main/java/me/mrCookieSlime/CSCoreLibPlugin/Configuration/Config.java index 7784370617..7cceeb6a08 100644 --- a/src/main/java/me/mrCookieSlime/CSCoreLibPlugin/Configuration/Config.java +++ b/src/main/java/me/mrCookieSlime/CSCoreLibPlugin/Configuration/Config.java @@ -13,10 +13,8 @@ * An old remnant of CS-CoreLib. * This will be removed once we updated everything. * Don't look at the code, it will be gone soon, don't worry. - * - * @deprecated Only used by the legacy {@link BlockStorage} system. + * Only used by the legacy {@link BlockStorage} system. */ -@Deprecated public class Config { private final File file; diff --git a/src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu.java b/src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu.java index 1d047d0615..d13234063c 100644 --- a/src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu.java +++ b/src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ChestMenu.java @@ -16,9 +16,7 @@ * An old remnant of CS-CoreLib. * This will be removed once we updated everything. * Don't look at the code, it will be gone soon, don't worry. - * */ -@Deprecated public class ChestMenu { private boolean clickable; @@ -207,7 +205,6 @@ public ChestMenu addMenuCloseHandler(MenuCloseHandler handler) { * * @return The ChestMenu Instance */ - @Deprecated public ChestMenu build() { return this; } diff --git a/src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ClickAction.java b/src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ClickAction.java index 2592862ff2..4ad692a6e1 100644 --- a/src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ClickAction.java +++ b/src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/ClickAction.java @@ -4,9 +4,7 @@ * An old remnant of CS-CoreLib. * This will be removed once we updated everything. * Don't look at the code, it will be gone soon, don't worry. - * */ -@Deprecated public class ClickAction { private boolean right; diff --git a/src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/MenuListener.java b/src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/MenuListener.java index 3483e5a6e8..1647e5aeee 100644 --- a/src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/MenuListener.java +++ b/src/main/java/me/mrCookieSlime/CSCoreLibPlugin/general/Inventory/MenuListener.java @@ -17,12 +17,9 @@ /** * An old {@link Listener} for CS-CoreLib - * - * @deprecated This is an old remnant of CS-CoreLib, the last bits of the past. They will be removed once everything is + * This is an old remnant of CS-CoreLib, the last bits of the past. They will be removed once everything is * updated. - * */ -@Deprecated public class MenuListener implements Listener { static final Map menus = new HashMap<>(); diff --git a/src/main/java/me/mrCookieSlime/CSCoreLibPlugin/package-info.java b/src/main/java/me/mrCookieSlime/CSCoreLibPlugin/package-info.java index ca990142b2..4a7b23e254 100644 --- a/src/main/java/me/mrCookieSlime/CSCoreLibPlugin/package-info.java +++ b/src/main/java/me/mrCookieSlime/CSCoreLibPlugin/package-info.java @@ -1,5 +1,4 @@ /** * Old CS-CoreLib 1.X code. */ -@java.lang.Deprecated package me.mrCookieSlime.CSCoreLibPlugin; \ No newline at end of file diff --git a/src/main/java/me/mrCookieSlime/package-info.java b/src/main/java/me/mrCookieSlime/package-info.java index 2fc365aed1..d346250b2c 100644 --- a/src/main/java/me/mrCookieSlime/package-info.java +++ b/src/main/java/me/mrCookieSlime/package-info.java @@ -3,5 +3,4 @@ * Don't look too close at the code that lays here. It's horrible, believe me. * Once we updated everything, all of these classes will be removed. */ -@java.lang.Deprecated package me.mrCookieSlime; \ No newline at end of file