Skip to content

Commit

Permalink
Latest makes more sense than latestSupported
Browse files Browse the repository at this point in the history
  • Loading branch information
bowbahdoe committed Feb 11, 2022
1 parent 2504286 commit f73d090
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);
}
Expand Down

0 comments on commit f73d090

Please sign in to comment.