Skip to content

Commit f94aeec

Browse files
Fix bad source version in ServiceProcessor (#410)
1 parent 0815fc4 commit f94aeec

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

sdk-api-gen/src/main/java/dev/restate/sdk/gen/ServiceProcessor.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import javax.tools.StandardLocation;
2929

3030
@SupportedAnnotationTypes("*")
31-
@SupportedSourceVersion(SourceVersion.RELEASE_11)
31+
@SupportedSourceVersion(SourceVersion.RELEASE_17)
3232
public class ServiceProcessor extends AbstractProcessor {
3333

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

41-
@Override
42-
public SourceVersion getSupportedSourceVersion() {
43-
return SourceVersion.RELEASE_17;
44-
}
45-
4641
@Override
4742
public synchronized void init(ProcessingEnvironment processingEnv) {
4843
super.init(processingEnv);

0 commit comments

Comments
 (0)