Skip to content

Commit

Permalink
pipeline still on java-8...
Browse files Browse the repository at this point in the history
  • Loading branch information
cjayswal committed Dec 2, 2024
1 parent 1d45090 commit 3897c07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private static void saveContent(Collection<Map<String, Object>> data, String nam
if(StringUtil.isNotBlank(encoding)) {
StringWriter sw = new StringWriter();
p.save(sw);
try(Writer out = new FileWriter(p.getFile(), Charset.forName(encoding))){
try(Writer out = new FileWriter(p.getFile(), false)){
String tranStr = StringEscapeUtils.unescapeJava( sw.toString());
//StringEscapeUtils.unescapeJava(out , sw.toString());
out.write(tranStr);
Expand Down

0 comments on commit 3897c07

Please sign in to comment.