I updated my IntelliJ IDEA this morning and after that I openend my project and suddenly i get an error in my lambda expressions.
First i got this one:
Lambda expressions not supported at this language level
and then I tried to change the Project Langugage level and afterwards set it back to default. Now i get this one:
Error:(39, 46) java: lambda expressions are not supported in -source 1.7
(use -source 8 or higher to enable lambda expressions)
IntelliJ ProjectStructure Options:
This is my lambda: And I say it again before I updated IntellJ it worked:
response.getData().stream().filter(a -> a.getStart_time() > WTStandards.getUnixTime()).forEach(eventList::add);