1
0
mirror of https://github.com/pcvolkmer/onkostar-plugin-dnpm.git synced 2025-07-02 01:02:55 +00:00

fix: use platform specific line seperator

This commit is contained in:
2024-09-16 10:32:14 +02:00
parent c160dcc72c
commit 9cad73e5c3

View File

@ -29,7 +29,7 @@ public class OsTumorkonferenzToProtocolMapper implements ProcedureToProtocolMapp
null != fragestellung && !fragestellung.getString().isBlank()
&& null != empfehlung && !empfehlung.getString().isBlank()
) {
return Optional.of(String.format("Fragestellung:\n%s\n\nEmpfehlung:\n%s", fragestellung.getString(), empfehlung.getString()));
return Optional.of(String.format("Fragestellung:%n%s%n%nEmpfehlung:%n%s", fragestellung.getString(), empfehlung.getString()));
} else if (null != fragestellung && !fragestellung.getString().isBlank()) {
return Optional.of(fragestellung.getString());
} else if (null != empfehlung && !empfehlung.getString().isBlank()) {