From 18515d4a7821d3a6dc5bc4d521ba3438d6cd9d73 Mon Sep 17 00:00:00 2001 From: carm Date: Mon, 17 Feb 2025 00:12:29 +0800 Subject: [PATCH] refactor(comment): Extract common comment functions --- .../cc/carm/lib/configuration/commentable/Commentable.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/features/commentable/src/main/java/cc/carm/lib/configuration/commentable/Commentable.java b/features/commentable/src/main/java/cc/carm/lib/configuration/commentable/Commentable.java index 37928a8..35dac7c 100644 --- a/features/commentable/src/main/java/cc/carm/lib/configuration/commentable/Commentable.java +++ b/features/commentable/src/main/java/cc/carm/lib/configuration/commentable/Commentable.java @@ -14,6 +14,10 @@ import java.util.regex.Pattern; public class Commentable { + private Commentable() { + throw new UnsupportedOperationException(); + } + public static void registerMeta(@NotNull ConfigurationInitializer initializer) { CommentableMeta.register(initializer); }