Skip to content

Commit

Permalink
set language level to java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
Christoph Knoedlseder committed Oct 8, 2024
1 parent a6b48f1 commit 034cc5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public static Builder builder(@NotNull Locale locale) {
public static JavaParser getConfiguredJavaParser() {
ParserConfiguration config = new ParserConfiguration();

config.setLanguageLevel(ParserConfiguration.LanguageLevel.JAVA_17);
config.setLanguageLevel(ParserConfiguration.LanguageLevel.JAVA_21);
config.setSymbolResolver(new JavaSymbolSolver(new ReflectionTypeSolver(false)));
config.setDoNotAssignCommentsPrecedingEmptyLines(false);

Expand Down

0 comments on commit 034cc5d

Please sign in to comment.