From 49f8d522338de4e125c53696b9a71130d3b4419c Mon Sep 17 00:00:00 2001 From: Pjiesco Date: Sat, 7 Oct 2023 19:59:43 +0200 Subject: [PATCH] use UpperCamelCase instead of Full uppercase --- .../touchportal/annotations/processor/utils/SpecUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AnnotationsProcessor/src/main/java/com/christophecvb/touchportal/annotations/processor/utils/SpecUtils.java b/AnnotationsProcessor/src/main/java/com/christophecvb/touchportal/annotations/processor/utils/SpecUtils.java index d3ec4c1..1d73d1e 100644 --- a/AnnotationsProcessor/src/main/java/com/christophecvb/touchportal/annotations/processor/utils/SpecUtils.java +++ b/AnnotationsProcessor/src/main/java/com/christophecvb/touchportal/annotations/processor/utils/SpecUtils.java @@ -211,7 +211,7 @@ public static TypeSpec.Builder createSettingTypeSpecBuilder(Element settingEleme * @return TypeSpec.Builder tooltipTypeSpecBuilder */ public static TypeSpec.Builder createSettingTooltipTypeSpecBuilder(Setting.Tooltip tooltip) { - TypeSpec.Builder tooltipTypeSpecBuilder = TypeSpec.classBuilder("TOOLTIP").addModifiers(Modifier.PUBLIC, Modifier.STATIC); + TypeSpec.Builder tooltipTypeSpecBuilder = TypeSpec.classBuilder("Tooltip").addModifiers(Modifier.PUBLIC, Modifier.STATIC); tooltipTypeSpecBuilder.addField(SpecUtils.getStaticFinalStringFieldSpec("title", tooltip.title())); tooltipTypeSpecBuilder.addField(SpecUtils.getStaticFinalStringFieldSpec("body", tooltip.body())); tooltipTypeSpecBuilder.addField(SpecUtils.getStaticFinalStringFieldSpec("docUrl", tooltip.docUrl()));