Skip to content

Commit

Permalink
Fix bad source version in ServiceProcessor (#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
slinkydeveloper authored Nov 19, 2024
1 parent 0815fc4 commit f94aeec
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import javax.tools.StandardLocation;

@SupportedAnnotationTypes("*")
@SupportedSourceVersion(SourceVersion.RELEASE_11)
@SupportedSourceVersion(SourceVersion.RELEASE_17)
public class ServiceProcessor extends AbstractProcessor {

private HandlebarsTemplateEngine definitionsCodegen;
Expand All @@ -38,11 +38,6 @@ public class ServiceProcessor extends AbstractProcessor {
private static final Set<String> RESERVED_METHOD_NAMES =
Set.of("send", "submit", "workflowHandle");

@Override
public SourceVersion getSupportedSourceVersion() {
return SourceVersion.RELEASE_17;
}

@Override
public synchronized void init(ProcessingEnvironment processingEnv) {
super.init(processingEnv);
Expand Down

0 comments on commit f94aeec

Please sign in to comment.