Skip to content

Commit

Permalink
Update PageProcessor.java
Browse files Browse the repository at this point in the history
Changed System.lineSeperator() to "\r\n" to align with the rest of the code.
  • Loading branch information
GinoCanessa authored Aug 6, 2024
1 parent 7441123 commit eecfb82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6802,7 +6802,7 @@ private String genLogicalMappings(ResourceDefn logical, String genlevel) throws

java.io.Writer writer = new java.io.FileWriter(exceptionsFile);
final LSSerializer xmlWriter = impl.createLSSerializer();
xmlWriter.setNewLine(System.lineSeparator());
xmlWriter.setNewLine("\r\n");
xmlWriter.getDomConfig().setParameter("format-pretty-print", true);
xmlWriter.getDomConfig().setParameter("xml-declaration", false);
String xml = xmlWriter.writeToString(newExceptionsDoc);
Expand Down

0 comments on commit eecfb82

Please sign in to comment.