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

Consistent nullability for StringUtils array/collection input parameters [SPR-17123] #21660

spring-projects-issues opened this issue Aug 6, 2018 · 1 comment
in: core type: task


Copy link

@spring-projects-issues spring-projects-issues commented Aug 6, 2018

rinx opened SPR-17123 and commented

Spring Framework 5.1 provides a function named StringUtils.collectionToCommaDelimitedString which is defined here:

has argument type "Collection<?> coll".

However, it calls collectionToDelimitedString which accepts "Nullable" collection. I think collectionToCommaDelimitedString should be able to handle "Nullable" collection.

Affects: 5.1 RC1

Referenced from: pull request #1917, and commits 69c6a40

Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Aug 6, 2018

Juergen Hoeller commented

Well spotted! In fact, there are other nullability inconsistencies in StringUtils as well. I'll revisit them combined in a larger revision for 5.1 RC2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
in: core type: task
None yet

No branches or pull requests

2 participants