kezhenxu94 commented on code in PR #10278:
URL: https://github.com/apache/dolphinscheduler/pull/10278#discussion_r884240821
##########
dolphinscheduler-alert/dolphinscheduler-alert-plugins/dolphinscheduler-alert-email/src/main/java/org/apache/dolphinscheduler/plugin/alert/email/EmailConstants.java:
##########
@@ -18,6 +18,8 @@
package org.apache.dolphinscheduler.plugin.alert.email;
public final class EmailConstants {
+ public static final String LINE_SEPARATOR =
System.getProperty("line.separator");
Review Comment:
I don't think there is necessity to add a constant, just use
`System.lineSeparator()`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]