Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Commit e0bb08a

Browse files
authored
Set Java SupportedSourceVersion to 11 (#3524)
1 parent e065171 commit e0bb08a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

heron/api/src/java/org/apache/heron/classification/HeronAnnotationProcessor.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
import javax.lang.model.element.TypeElement;
3131
import javax.tools.Diagnostic.Kind;
3232

33-
import static javax.lang.model.SourceVersion.RELEASE_8;
33+
import static javax.lang.model.SourceVersion.RELEASE_11;
3434

3535
/**
3636
* Class that processes usage of {@link InterfaceAudience} and {@link InterfaceStability} at compile
@@ -39,7 +39,7 @@
3939
@SupportedAnnotationTypes({"org.apache.heron.classification.InterfaceStability.Unstable",
4040
"org.apache.heron.classification.InterfaceAudience.Private",
4141
"org.apache.heron.classification.InterfaceAudience.LimitedPrivate"})
42-
@SupportedSourceVersion(RELEASE_8)
42+
@SupportedSourceVersion(RELEASE_11)
4343
public class HeronAnnotationProcessor extends AbstractProcessor {
4444
private ProcessingEnvironment env;
4545

0 commit comments

Comments
 (0)