From 3ea90fac0313a3042e90482bbfbc8c5b445c477f Mon Sep 17 00:00:00 2001 From: isXander Date: Sun, 25 Dec 2022 13:50:25 +0000 Subject: minor cleanup to impl classes + don't gen client&server run configs --- src/client/java/dev/isxander/yacl/impl/ConfigCategoryImpl.java | 2 +- src/client/java/dev/isxander/yacl/impl/OptionGroupImpl.java | 4 ++-- src/client/java/dev/isxander/yacl/impl/PlaceholderCategoryImpl.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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 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> 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 tooltipLines = new ArrayList<>(); private final List> 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 tooltipLines = new ArrayList<>(); -- cgit