Skip to content

Commit

Permalink
Adjusted BOM usage
Browse files Browse the repository at this point in the history
  • Loading branch information
rmraya committed Jun 26, 2019
1 parent 8deda5d commit 0a8d685
Show file tree
Hide file tree
Showing 5 changed files with 347 additions and 355 deletions.
Binary file modified lib/xlifffilters.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/com/maxprograms/xliff2/FromXliff2.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public static Vector<String> run(String sourceFile, String outputFile, String ca
XMLOutputter outputter = new XMLOutputter();
outputter.preserveSpace(true);
try (FileOutputStream out = new FileOutputStream(new File(outputFile))) {
out.write(XMLUtils.getUtf8Bom());
out.write(XMLUtils.UTF8BOM);
outputter.output(xliff12, out);
}
result.addElement("0");
Expand Down
2 changes: 1 addition & 1 deletion src/com/maxprograms/xliff2/ToXliff2.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static Vector<String> run(String sourceFile, String outputFile, String ca
XMLOutputter outputter = new XMLOutputter();
outputter.preserveSpace(true);
try (FileOutputStream out = new FileOutputStream(new File(outputFile))) {
out.write(XMLUtils.getUtf8Bom());
out.write(XMLUtils.UTF8BOM);
outputter.output(xliff2, out);
}
result.addElement("0");
Expand Down
Loading

0 comments on commit 0a8d685

Please sign in to comment.