Hello,
Java Plugin reported a False Positive for code:

This filter lambda should include all AbstractItemModel elements which are not contained by result collection. We cannot guarantee that result contains only instances of AbstractItemModel so we cannot use: ((Collection<AbstractItemModel>) value).stream().filter(element -> !result.contains(element)) (← this code is not marked as an error).
Environment:
--
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/VI1PR0801MB134162D15FBC11272431470C98D60%40VI1PR0801MB1341.eurprd08.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.