You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Krosheninnikov Artem (Jira)" <ji...@apache.org> on 2019/12/09 12:11:00 UTC

[jira] [Created] (MNG-6816) Prefer System.lineSeparator() for Writing System-Dependent Line Separator Strings in Java

Krosheninnikov Artem created MNG-6816:
-----------------------------------------

             Summary: Prefer System.lineSeparator() for Writing System-Dependent Line Separator Strings in Java
                 Key: MNG-6816
                 URL: https://issues.apache.org/jira/browse/MNG-6816
             Project: Maven
          Issue Type: Improvement
    Affects Versions: 3.7.0
            Reporter: Krosheninnikov Artem


There is a JDK bug that suggested to add special System.lineSeparator method https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6900043

 

There is an article about it: [https://dzone.com/articles/prefer-systemlineseparator-for-writing-system-depe]

 

In maven repo there are some usages of System.getProperty that can be replaced.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)