Use simpler functional interfaces wherever possible

Sorry, I did a mistake and overlooked the fact that we are talking about method parameter. The rule as it is currently implemented won’t raise issue on method parameter, because it only consider implements clause and variables with initializer.

I created ticket to add this improvement https://jira.sonarsource.com/browse/SONARJAVA-2853

1 Like