zhiqinghuang / lambdaj

Automatically exported from code.google.com/p/lambdaj
Apache License 2.0
0 stars 0 forks source link

Lambda.of() doesn't handle list arguments properly #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If I use Lambda.of() on a two-arg method where the first arg is a List, and if 
I 
supply a literal, non-empty list as the first arg and an unbound var as the 
second arg, things are fine. If I submit an empty list, there is an exception. 
If I 
use a one-arg method call and supply it either an empty or a non-empty list, 
there is an exception, but a different one in each case.

See attached JUnit test. Tested against rev number 775.

Original issue reported on code.google.com by marko.to...@gmail.com on 24 Nov 2009 at 3:19

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by mario.fu...@gmail.com on 24 Nov 2009 at 3:41

GoogleCodeExporter commented 8 years ago
fixed in release 2.2

Original comment by mario.fu...@gmail.com on 27 Nov 2009 at 11:15