Skip to content

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

Closed
KroArtem wants to merge 1 commit intoapache:masterfrom
KroArtem:MNG-6816-prefer-separate-system-calls
Closed

[MNG-6816] Prefer System.lineSeparator() for Writing System-Dependent Line Separator Strings in Java#300
KroArtem wants to merge 1 commit intoapache:masterfrom
KroArtem:MNG-6816-prefer-separate-system-calls

Conversation

@KroArtem
Copy link
Copy Markdown
Contributor

@KroArtem KroArtem commented Dec 9, 2019

Following this checklist to help us incorporate your
contribution quickly and easily:

  • Make sure there is a JIRA issue filed
    for the change (usually before you start working on it). Trivial changes like typos do not
    require a JIRA issue. Your pull request should address just this issue, without
    pulling in other changes.
  • Each commit in the pull request should have a meaningful subject line and body.
  • Format the pull request title like [MNG-XXX] - Fixes bug in ApproximateQuantiles,
    where you replace MNG-XXX with the appropriate JIRA issue. Best practice
    is to use the JIRA issue title in the pull request title and in the first line of the
    commit message.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Run mvn clean verify to make sure basic checks pass. A more thorough check will
    be performed on your pull request automatically.
  • You have run the Core IT successfully.

If your pull request is about ~20 lines of code you don't need to sign an
Individual Contributor License Agreement if you are unsure
please ask on the developers list.

To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.


/** */
private static final String NEWLINE = System.getProperty( "line.separator" );
private static final String NEWLINE = System.lineSeparator();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be renamed to LS.

@KroArtem
Copy link
Copy Markdown
Contributor Author

KroArtem commented Dec 9, 2019

I've run mvn clean test -Prun-its and it succeeded but there is a warning in the terminal:

[WARNING] The requested profile "run-its" could not be activated because it does not exist.

Docs also say

To run the ITs using embedded Maven 3.x, additionally activate the `embedded` profile.

but there is no embedded profile available.

@michael-o
Copy link
Copy Markdown
Member

@KroArtem this has to be run on the IT Suite an not Maven itself.

@michael-o
Copy link
Copy Markdown
Member

Running ITs now...

@asfgit asfgit closed this in 3332f4d Dec 10, 2019
@KroArtem KroArtem deleted the MNG-6816-prefer-separate-system-calls branch December 10, 2019 10:03
@KroArtem
Copy link
Copy Markdown
Contributor Author

Sorry, I was going to fix it today, seems like you've already fixed everything.

@michael-o
Copy link
Copy Markdown
Member

@KroArtem No issue, thank you for the contribution.

asfgit pushed a commit that referenced this pull request Jun 26, 2021
@jira-importer
Copy link
Copy Markdown

Resolve #8470

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants