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
The text was updated successfully, but these errors were encountered:
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.
rinx opened SPR-17123 and commented
Spring Framework 5.1 provides a function named StringUtils.collectionToCommaDelimitedString which is defined here:
https://github.com/spring-projects/spring-framework/blob/master/spring-core/src/main/java/org/springframework/util/StringUtils.java#L1289
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
The text was updated successfully, but these errors were encountered: