Skip to content

Commit

Permalink
Fix spotless error potentially
Browse files Browse the repository at this point in the history
  • Loading branch information
huangsam committed Apr 7, 2024
1 parent 5c70d41 commit cb84b21
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -60,7 +60,8 @@ public SourceFilePage(final ISourceNode sourceFileNode,

@Override
protected void content(final HTMLElement body) throws IOException {
final SourceHighlighter highlighter = new SourceHighlighter(context.getLocale());
final SourceHighlighter highlighter;
highlighter = new SourceHighlighter(context.getLocale());
highlighter.render(body, getNode(), sourceReader);
sourceReader.close();
}
Expand Down

0 comments on commit cb84b21

Please sign in to comment.