dsubelman commented on PR #523:
URL: https://github.com/apache/maven-surefire/pull/523#issuecomment-1104445284
> @dsubelman Why you use quotation marks `' '`? These are Linux/Unix
specific? We cannot use it if it is platform specific. We have the library
`maven-shared-utils` with CLI utility which applies platform specific escaping
characters. So, it is enough if we keep using one space character as before.
It was to show the difference between the two approaches. Otherwise, you
wouldn't be able to see all the difference between the outputs. Instead, I
would use my initial proposal:
argLine.replaceAll("\\s+", " ");
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]