mirror of
https://github.com/CarmJos/EasyConfiguration.git
synced 2026-06-04 18:48:20 +08:00
refactor(comment): Extract common comment functions
This commit is contained in:
+4
@@ -14,6 +14,10 @@ import java.util.regex.Pattern;
|
|||||||
|
|
||||||
public class Commentable {
|
public class Commentable {
|
||||||
|
|
||||||
|
private Commentable() {
|
||||||
|
throw new UnsupportedOperationException();
|
||||||
|
}
|
||||||
|
|
||||||
public static void registerMeta(@NotNull ConfigurationInitializer initializer) {
|
public static void registerMeta(@NotNull ConfigurationInitializer initializer) {
|
||||||
CommentableMeta.register(initializer);
|
CommentableMeta.register(initializer);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user