[java] false positive in S1604

54 views
Skip to first unread message

cba...@mimsoftware.com

unread,
Feb 19, 2018, 4:06:16 PM2/19/18
to SonarQube
In Intellij's SonarLint 3.2.0.2350, the following raises an issue of S1604:
interface Klazz {
default void foo(){}
default void bar(){}

static void main() {
Klazz klazz = new Klazz() {
@Override
public void foo() {
//wants to be a lambda
}
};
}
}


Michael Gumowski

unread,
Feb 28, 2018, 9:31:44 AM2/28/18
to cba...@mimsoftware.com, SonarQube
Hello,

Thank you for your feedback. I created the following ticket to handle the issue: SONARJAVA-2654

Cheers,
Michael

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/8eae0b6e-1463-4331-b890-4597f0023aa6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Michael Gumowski | SonarSource
Software Developer, Language Team
https://www.sonarsource.com
Reply all
Reply to author
Forward
0 new messages