Skip to content

Commit

Permalink
Tika 4137 (#1353)
Browse files Browse the repository at this point in the history
* TIKA-4137 -- Building current Tika main branch fails under Java 20/21

Authored-by: thorsten <thorsten@mbpvonthorsten.fritz.box>
  • Loading branch information
theit authored Sep 22, 2023
1 parent d2adc3c commit 72a81a1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,7 @@ private StreamingOutput produceOutput(final InputStream is, Metadata metadata,
handler.getTransformer().setOutputProperty(OutputKeys.METHOD, format);
handler.getTransformer().setOutputProperty(OutputKeys.INDENT, "yes");
handler.getTransformer().setOutputProperty(OutputKeys.ENCODING, UTF_8.name());
handler.getTransformer().setOutputProperty(OutputKeys.VERSION, "1.1");
handler.setResult(new StreamResult(writer));
content = new ExpandedTitleContentHandler(handler);
} catch (TransformerConfigurationException e) {
Expand Down

0 comments on commit 72a81a1

Please sign in to comment.