michael-o commented on a change in pull request #300: [MNG-6816] Prefer 
System.lineSeparator() for Writing System-Dependent Line Separator Strings in 
Java
URL: https://github.com/apache/maven/pull/300#discussion_r355446229
 
 

 ##########
 File path: 
maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java
 ##########
 @@ -30,7 +30,7 @@
 {
 
     /** */
-    private static final String NEWLINE = System.getProperty( "line.separator" 
);
+    private static final String NEWLINE = System.lineSeparator();
 
 Review comment:
   This should be renamed to `LS`.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to