From d46c9533fe9fb6d7a91cc86f99b84390923d2ecc Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Sat, 25 Nov 2023 21:33:21 +0300 Subject: [PATCH] java 21 --- pom.xml | 4 +++- .../utils/fieldconstants/processor/FieldNameProcessor.java | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 55b5c20..22dc811 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ - 17 + 21 ${java.version} ${java.version} UTF-8 @@ -55,6 +55,8 @@ ${google.auto.service.version} + 21 + 21 diff --git a/src/main/java/dev/struchkov/haiti/utils/fieldconstants/processor/FieldNameProcessor.java b/src/main/java/dev/struchkov/haiti/utils/fieldconstants/processor/FieldNameProcessor.java index 0506f7f..1bb43be 100644 --- a/src/main/java/dev/struchkov/haiti/utils/fieldconstants/processor/FieldNameProcessor.java +++ b/src/main/java/dev/struchkov/haiti/utils/fieldconstants/processor/FieldNameProcessor.java @@ -18,7 +18,7 @@ import javax.lang.model.element.TypeElement; import java.util.Set; @SupportedAnnotationTypes("dev.struchkov.haiti.utils.fieldconstants.annotation.FieldNames") -@SupportedSourceVersion(SourceVersion.RELEASE_17) +@SupportedSourceVersion(SourceVersion.RELEASE_21) @AutoService(Processor.class) public class FieldNameProcessor extends AbstractProcessor {