Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-Platform New Line for SimpleViewGenerator #231

Merged
merged 1 commit into from Mar 17, 2015

Conversation

sghill
Copy link
Contributor

@sghill sghill commented Mar 17, 2015

Running a maven build on non-*nix machines fails SimpleViewGeneratorTest
because of line endings. This functionality already works on Windows,
but tests fail because of a reference to String#replaceAll("\n", "").
This changes defines the cross-platform String.format("%n") as a
constant, and references it in the replaceAll call as per
http://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax

Running a maven build on non-*nix machines fails SimpleViewGeneratorTest
because of line endings. This functionality already works on Windows,
but tests fail because of a reference to `String#replaceAll("\n", "")`.
This changes defines the cross-platform `String.format("%n")` as a
constant, and references it in the `replaceAll` call as per
http://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax
helun pushed a commit that referenced this pull request Mar 17, 2015
Cross-Platform New Line for SimpleViewGenerator
@helun helun merged commit 6363461 into helun:master Mar 17, 2015
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.

None yet

2 participants