--
--
guava-...@googlegroups.com
Project site: http://guava-libraries.googlecode.com
This group: http://groups.google.com/group/guava-discuss
This list is for general discussion.
To report an issue: http://code.google.com/p/guava-libraries/issues/entry
To get help: http://stackoverflow.com/questions/ask (use the tag "guava")
---
You received this message because you are subscribed to the Google Groups "guava-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guava-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/guava-discuss/5a75c0de-a459-4b0b-a2bc-be842945bf0b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
What if some framework is setting it field to null and you can't control it (spring framework when on binding to list) although you explicitly set and use empty list in the object.
My answer is the same: try to remove the ambiguity by normalizing null to an empty collection as soon as you can. If you just can't, then okay, you might be one of the <1% of users who really want to write their own trivial isNullOrEmpty(Collection) helper.
--
--
guava-...@googlegroups.com
Project site: http://guava-libraries.googlecode.com
This group: http://groups.google.com/group/guava-discuss
This list is for general discussion.
To report an issue: http://code.google.com/p/guava-libraries/issues/entry
To get help: http://stackoverflow.com/questions/ask (use the tag "guava")
--- You received this message because you are subscribed to the Google Groups "guava-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guava-discuss+unsubscribe@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/guava-discuss/527FFF35.7010501%40durchholz.org.
--
--
guava-...@googlegroups.com
Project site: http://guava-libraries.googlecode.com
This group: http://groups.google.com/group/guava-discuss
This list is for general discussion.
To report an issue: http://code.google.com/p/guava-libraries/issues/entry
To get help: http://stackoverflow.com/questions/ask (use the tag "guava")
--- You received this message because you are subscribed to a topic in the Google Groups "guava-discuss" group.To view this discussion on the web visit https://groups.google.com/d/msgid/guava-discuss/528066BF.8070007%40durchholz.org.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/guava-discuss/b956iZ2D_yM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to guava-discuss+unsubscribe@googlegroups.com.