From f73d0904a15135928221dc244592559f279bf589 Mon Sep 17 00:00:00 2001 From: Ethan McCue Date: Thu, 10 Feb 2022 20:52:47 -0500 Subject: [PATCH] Latest makes more sense than latestSupported --- .../java/dev/mccue/magicbean/processor/AnnotationProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dev/mccue/magicbean/processor/AnnotationProcessor.java b/src/main/java/dev/mccue/magicbean/processor/AnnotationProcessor.java index 5740584..1d237f1 100644 --- a/src/main/java/dev/mccue/magicbean/processor/AnnotationProcessor.java +++ b/src/main/java/dev/mccue/magicbean/processor/AnnotationProcessor.java @@ -26,7 +26,7 @@ public final class AnnotationProcessor extends AbstractProcessor { @Override public SourceVersion getSupportedSourceVersion() { return Collections.max( - List.of(SourceVersion.latestSupported(), + List.of(SourceVersion.latest(), SourceVersion.RELEASE_17) ); }