diff options
author | isXander <xander@isxander.dev> | 2022-12-25 13:50:25 +0000 |
---|---|---|
committer | isXander <xander@isxander.dev> | 2022-12-25 13:50:41 +0000 |
commit | 3ea90fac0313a3042e90482bbfbc8c5b445c477f (patch) | |
tree | 20a225312b5f50e17e88ae2756d6ad2f3666f2d1 /src/client | |
parent | 0a98102cbe6138ac675a3ebe3cbc88602ff350c0 (diff) | |
download | YetAnotherConfigLib-3ea90fac0313a3042e90482bbfbc8c5b445c477f.tar.gz YetAnotherConfigLib-3ea90fac0313a3042e90482bbfbc8c5b445c477f.tar.bz2 YetAnotherConfigLib-3ea90fac0313a3042e90482bbfbc8c5b445c477f.zip |
minor cleanup to impl classes + don't gen client&server run configs
Diffstat (limited to 'src/client')
3 files changed, 4 insertions, 4 deletions
diff --git a/src/client/java/dev/isxander/yacl/impl/ConfigCategoryImpl.java b/src/client/java/dev/isxander/yacl/impl/ConfigCategoryImpl.java index 5f9bdd0..6879e17 100644 --- a/src/client/java/dev/isxander/yacl/impl/ConfigCategoryImpl.java +++ b/src/client/java/dev/isxander/yacl/impl/ConfigCategoryImpl.java @@ -17,7 +17,7 @@ import java.util.Collection; import java.util.List; @ApiStatus.Internal -public class ConfigCategoryImpl implements ConfigCategory { +public final class ConfigCategoryImpl implements ConfigCategory { private final Text name; private final ImmutableList<OptionGroup> groups; private final Text tooltip; diff --git a/src/client/java/dev/isxander/yacl/impl/OptionGroupImpl.java b/src/client/java/dev/isxander/yacl/impl/OptionGroupImpl.java index ba96941..1612a7e 100644 --- a/src/client/java/dev/isxander/yacl/impl/OptionGroupImpl.java +++ b/src/client/java/dev/isxander/yacl/impl/OptionGroupImpl.java @@ -15,7 +15,7 @@ import java.util.Collection; import java.util.List; @ApiStatus.Internal -public class OptionGroupImpl implements OptionGroup { +public final class OptionGroupImpl implements OptionGroup { private final @NotNull Text name; private final @NotNull Text tooltip; private final ImmutableList<? extends Option<?>> options; @@ -56,7 +56,7 @@ public class OptionGroupImpl implements OptionGroup { } @ApiStatus.Internal - public static final class BuilderImpl implements Builder { + public static final class BuilderImpl implements OptionGroup.Builder { private Text name = Text.empty(); private final List<Text> tooltipLines = new ArrayList<>(); private final List<Option<?>> options = new ArrayList<>(); diff --git a/src/client/java/dev/isxander/yacl/impl/PlaceholderCategoryImpl.java b/src/client/java/dev/isxander/yacl/impl/PlaceholderCategoryImpl.java index 4ea623b..738b9e2 100644 --- a/src/client/java/dev/isxander/yacl/impl/PlaceholderCategoryImpl.java +++ b/src/client/java/dev/isxander/yacl/impl/PlaceholderCategoryImpl.java @@ -50,7 +50,7 @@ public final class PlaceholderCategoryImpl implements PlaceholderCategory { } @ApiStatus.Internal - public static final class BuilderImpl implements Builder { + public static final class BuilderImpl implements PlaceholderCategory.Builder { private Text name; private final List<Text> tooltipLines = new ArrayList<>(); |