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

Prefer System.lineSeparator() over system properties

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.6.3
    • Fix Version/s: 3.8.2, 4.0.0, 4.0.0-alpha-1
    • Component/s: None
    • Labels:
      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

          Activity

            People

            • Assignee:
              michael-o Michael Osipov
              Reporter:
              KroArtem Krosheninnikov Artem

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Issue deployment