IntelliJ has an inspection setting to warn you of "Javac quirks" that might affect your code, but I have yet to come across any. What are some of these quirks, either recognized by IntelliJ or in general?
I've just seen "Use of '_' as a lambda parameter name is not allowed" (IntelliJ IDEA CE 14.0.2).
public static <T> BinaryOperator<T> toLastElement() {
return (_, current) -> current;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With