On 19/07/2013 18:53, Violeta Georgieva wrote:
Hi,
I tried to test the different o.a.el.stream.Optional methods.
Again I used one of our tests and modify
it: (o.a.el.stream.TestCollectionOperations.testAverage03())
[].stream().average().orElseGet(()-64)
I received:
On 21/07/2013 10:41, Mark Thomas wrote:
I've been comparing Tomcat's behaviour with the RI and it appears that
the parser in the RI always reports lambda expressions with parameters
as functions whereas Tomcat doesn't. I'm taking a close look at the
grammar so see why that might be the case.
Hi,
I tried to test the different o.a.el.stream.Optional methods.
Again I used one of our tests and modify
it: (o.a.el.stream.TestCollectionOperations.testAverage03())
[].stream().average().orElseGet(()-64)
I received:
javax.el.ELException: Cannot convert 64 of type class java.lang.Long to