Skip to content

Commit

Permalink
restore Java 8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jpstotz committed Jun 13, 2024
1 parent 4150828 commit 65e67ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static String clearComments(String input) {
}
}
}
edits.addChildren(textEdits.toArray(TextEdit[]::new));
edits.addChildren(textEdits.toArray(new TextEdit[textEdits.size()]));
try {
edits.apply(document);
} catch (MalformedTreeException | BadLocationException e) {
Expand Down

0 comments on commit 65e67ea

Please sign in to comment.