You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2021/06/26 21:47:00 UTC

[jira] [Commented] (MNG-6816) Prefer System.lineSeparator() over system properties

    [ https://issues.apache.org/jira/browse/MNG-6816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17370076#comment-17370076 ] 

Michael Osipov commented on MNG-6816:
-------------------------------------

Fixed with [d4ad077ef5c440d86f3c9110e96ae00cf7d246bf|https://gitbox.apache.org/repos/asf?p=maven.git;a=commit;h=d4ad077ef5c440d86f3c9110e96ae00cf7d246bf] for {{maven-3.8.x}} branch.

> Prefer System.lineSeparator() over system properties
> ----------------------------------------------------
>
>                 Key: MNG-6816
>                 URL: https://issues.apache.org/jira/browse/MNG-6816
>             Project: Maven
>          Issue Type: Improvement
>    Affects Versions: 3.6.3
>            Reporter: Krosheninnikov Artem
>            Assignee: Michael Osipov
>            Priority: Trivial
>             Fix For: 4.0.0, 4.0.0-alpha-1
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)