Re: ELException: Function ':v' not found

2013-07-19 Thread Violeta Georgieva
2013/7/19 Mark Thomas wrote: > > I was pleasantly surprised how little code change was required to get > this to work. That gives me confidence that the overall architecture is > correct and that what we are fixing here are effectively corner cases. > Great job!

Re: ELException: Function ':v' not found

2013-07-19 Thread Mark Thomas
On 19/07/2013 07:23, Violeta Georgieva wrote: > Hi, > > While I was playing with collections I decided to change a bit one of our > tests (o.a.el.stream.TestCollectionOperations.testMaxLambda01()) and > > instead of > > beans.stream().max((x,y)->x.name.compareTo(y.name)) > > I made it like this

ELException: Function ':v' not found

2013-07-18 Thread Violeta Georgieva
Hi, While I was playing with collections I decided to change a bit one of our tests (o.a.el.stream.TestCollectionOperations.testMaxLambda01()) and instead of beans.stream().max((x,y)->x.name.compareTo(y.name)) I made it like this: comparison = v->(x,y)->v(x).compareTo(v(y)) beans.stream().max(