Skip to content

Commit 47d9fb4

Browse files
committed
Replace AST.JLS09 by AST.JLS10
Signed-off-by: AndreSonntag <Andre-Sonntag@gmx.de>
1 parent 11f0e8a commit 47d9fb4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • plugins/de.cognicrypt.codegenerator/src/main/java/de/cognicrypt/codegenerator/generator

plugins/de.cognicrypt.codegenerator/src/main/java/de/cognicrypt/codegenerator/generator/CodeGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ private String[] getCallsForGenClasses(final String filePath) throws IOException
198198
// Retrieve complete content from file
199199
final String fileContent = String.join(Constants.lineSeparator, Files.readAllLines(Paths.get(filePath)));
200200
// Determine start and end position for relevant extract
201-
final ASTParser astp = ASTParser.newParser(AST.JLS9);
201+
final ASTParser astp = ASTParser.newParser(AST.JLS10);
202202
astp.setSource(fileContent.toCharArray());
203203
astp.setKind(ASTParser.K_COMPILATION_UNIT);
204204
final CompilationUnit cu = (CompilationUnit) astp.createAST(null);

0 commit comments

Comments
 (0)