elasticsearch/modules/lang-expression
Artem Prigoda 0699c9351f
Use Java 14 switch expressions (#82178)
JEP 361[https://openjdk.java.net/jeps/361] added support for switch expressions
which can be much more terse and less error-prone than switch statements.

Another useful feature of switch expressions is exhaustiveness: we can make
sure that an enum switch expression covers all the cases at compile time.
2022-01-10 09:53:35 +01:00
..
licenses Upgrade to released lucene 9.0.0 (#81426) 2021-12-07 14:19:56 +00:00
src Use Java 14 switch expressions (#82178) 2022-01-10 09:53:35 +01:00
build.gradle Introduce simple public yaml-rest-test plugin (#76554) 2021-08-31 08:45:52 +02:00