google-code-export / morphia

Automatically exported from code.google.com/p/morphia
1 stars 0 forks source link

Fluent query method hasNoneOf checks for empty list #429

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Morphia 0.99

Why there is an assertion for empty list? I do understand the check for null 
but I wonder if the empty list check could be removed?

For example hasAnyOf does not have this check anymore.

Original issue reported on code.google.com by petteri....@gmail.com on 21 Sep 2012 at 7:04