Why are Java inspections running in Kotlin files? #142
Unanswered
skasi-surya
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hello, Could you please try using the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have an inspections XML profile that is passed into Qodana. This includes inspections for multiple languages - Kotlin, Java, Android, Groovy etc.
One specific inspection,
Java -> Declaration redundancy -> Unused declaration
is showing false positives after upgrading from Qodana 2021.2 to 2022.2.Qodana github action in workflow:
Firstly, why are Java inspections running on Kt files? Also, as seen in the screenshot, it is clearly a false positive as the parameters are being used.
qodana.yml
andInspections.xml
have been included in the zip for reference.Inspections.zip
Beta Was this translation helpful? Give feedback.
All reactions