Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

intelliJ IDEA "Overrides method" warning with Java 8 lambda expressions

I get a warning "Overrides method in java.util.function.Function" when using lambda expressions like new Vector<String>().stream().map(String::toString); but as far as I know this is just normal lambda usage. How can I get rid of this warning without removing legitimate override warnings?

I use intelliJ IDEA 2016.1.3 with OpenJDK 8 on Gnome on Arch Linux.

like image 341
Konrad Höffner Avatar asked Jun 20 '16 12:06

Konrad Höffner


1 Answers

Do you mean the icon in the editor gutter? That is not a warning, but an indication and allows navigation to the super method using the mouse. The icon(s) can be disabled in File | Settings | Editor | General | Gutter Icons.

like image 176
Bas Leijdekkers Avatar answered Oct 20 '22 10:10

Bas Leijdekkers