Skip to content

Commit 7cccfac

Browse files
committed
AnnotationProcessor: it works with Java 7 & 8, too
The SupportedSourceVersion indicates the _newest_ release of Java supported by the processor. SciJava supports Java 8 and earlier.
1 parent 2e02de5 commit 7cccfac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/scijava/annotations/AnnotationProcessor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@
7070
import org.scijava.annotations.AbstractIndexWriter.StreamFactory;
7171

7272
/**
73-
* The annotation processor for use with Java 6 and above.
73+
* The annotation processor for use with Java 8 and earlier.
7474
*
7575
* @author Johannes Schindelin
7676
*/
77-
@SupportedSourceVersion(SourceVersion.RELEASE_6)
77+
@SupportedSourceVersion(SourceVersion.RELEASE_8)
7878
@SupportedAnnotationTypes("*")
7979
public class AnnotationProcessor extends AbstractProcessor {
8080

0 commit comments

Comments
 (0)