[java] false positive in S1604

Sett 54 ganger
Hopp til første uleste melding

cba...@mimsoftware.com

ulest,
19. feb. 2018, 16:06:1619.02.2018
til 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

ulest,
28. feb. 2018, 09:31:4428.02.2018
til 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
Svar alle
Svar til forfatter
Videresend
0 nye meldinger