Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6816

Prefer System.lineSeparator() over system properties

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.6.3
    • 3.8.2, 4.0.0-alpha-1, 4.0.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              KroArtem Krosheninnikov Artem
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m