Skip to content

Conversation

@HannesWell
Copy link
Member

This also reverts "Use trim() instead of strip() because Jenkins doesn't
like it now."

This reverts commit 0cc3c77.
@HannesWell
Copy link
Member Author

In fact String.trim() already does trim line-breaks. Its Javadoc says:

Returns a string whose value is this string, with all leading and trailing space removed,
where space is defined as any character whose codepoint is less than or equal to 'U+0020' (the space character).

Thanks @merks for pointing this out.
So this change is not necessary in practice. Closing.

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.

1 participant