From ff2ead62333e90b61e05c8cb6a91f692fcf30805 Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Sat, 16 Jul 2022 20:17:15 +0200 Subject: Move VigilanceName to public API (#57) * fix oopsie * apiDump --- .../oneconfig/config/migration/VigilanceMigrator.java | 2 -- .../oneconfig/config/migration/VigilanceName.java | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 src/main/java/cc/polyfrost/oneconfig/config/migration/VigilanceName.java (limited to 'src/main/java/cc/polyfrost/oneconfig/config') diff --git a/src/main/java/cc/polyfrost/oneconfig/config/migration/VigilanceMigrator.java b/src/main/java/cc/polyfrost/oneconfig/config/migration/VigilanceMigrator.java index aed1919..1397ef9 100644 --- a/src/main/java/cc/polyfrost/oneconfig/config/migration/VigilanceMigrator.java +++ b/src/main/java/cc/polyfrost/oneconfig/config/migration/VigilanceMigrator.java @@ -1,7 +1,5 @@ package cc.polyfrost.oneconfig.config.migration; -import cc.polyfrost.oneconfig.internal.config.compatibility.vigilance.VigilanceName; - import java.io.BufferedReader; import java.io.File; import java.io.FileReader; diff --git a/src/main/java/cc/polyfrost/oneconfig/config/migration/VigilanceName.java b/src/main/java/cc/polyfrost/oneconfig/config/migration/VigilanceName.java new file mode 100644 index 0000000..d9db17e --- /dev/null +++ b/src/main/java/cc/polyfrost/oneconfig/config/migration/VigilanceName.java @@ -0,0 +1,16 @@ +package cc.polyfrost.oneconfig.config.migration; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.FIELD) +public @interface VigilanceName { + String name(); + + String category(); + + String subcategory(); +} -- cgit