Skip to content

Commit

Permalink
Simple typo bugfix (NPE) (#1731)
Browse files Browse the repository at this point in the history
No issue, just spotted.
  • Loading branch information
cstamas authored Sep 19, 2024
1 parent 368ddec commit 45f9b81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public void write(XmlWriterRequest<Model> request) throws XmlWriterException {
w.write(outputStream, content);
} else {
try (OutputStream os = Files.newOutputStream(path)) {
w.write(outputStream, content);
w.write(os, content);
}
}
} catch (Exception e) {
Expand Down

0 comments on commit 45f9b81

Please sign in to comment.