diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-07-16 20:17:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-16 19:17:15 +0100 |
commit | ff2ead62333e90b61e05c8cb6a91f692fcf30805 (patch) | |
tree | 1492660d0dd863b1416472616823c3f40efbf6c8 /src/main/java/cc/polyfrost/oneconfig/config | |
parent | 153558c19436c6945a5ac534b035b4e3ced1bcaa (diff) | |
download | OneConfig-ff2ead62333e90b61e05c8cb6a91f692fcf30805.tar.gz OneConfig-ff2ead62333e90b61e05c8cb6a91f692fcf30805.tar.bz2 OneConfig-ff2ead62333e90b61e05c8cb6a91f692fcf30805.zip |
Move VigilanceName to public API (#57)
* fix oopsie
* apiDump
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/config')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/migration/VigilanceMigrator.java | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/config/migration/VigilanceName.java | 16 |
2 files changed, 16 insertions, 2 deletions
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(); +} |