You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by GitBox <gi...@apache.org> on 2021/07/16 16:43:23 UTC

[GitHub] [geronimo-specs] csaboka opened a new pull request #19: Empty JSON array should return empty list views instead of null

csaboka opened a new pull request #19:
URL: https://github.com/apache/geronimo-specs/pull/19


   The current implementation of `getValuesAs()` returns null. This is unexpected, since empty collections should return empty views instead of null. I imagine there are people who pass this call to an enhanced for loop without an extra null check, so this seems dangerous as well.


-- 
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: dev-unsubscribe@geronimo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org