AssertBetweenInconvertibleTypes false positive generated when AbstractAssert#isEqualTo follows AbstractIterableAssert#first() #12
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: chrisly42/cajon-plugin#12
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The warning
'isEqualTo()' between objects of inconvertible types 'ArrayList<Integer>' and 'int'
is being generated by the following code:
This is happening no matter what the generic type ends up being.
This code does not produce the warning:
Installation info:
IntelliJ IDEA 2023.2.1 (Ultimate Edition)
Build #IU-232.9559.62, built on August 22, 2023
Runtime version: 17.0.8+7-b1000.8 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Hi Mr. Queasy,
I'm not sure what your report is about. The AssertBetweenInconvertibleTypes inspection is, as far as I know, an inspection of the IntelliJ core and not generated by Cajon. Thus, this should be addressed to Jetbrains rather than me.
Please clarify, otherwise I will close this issue as invalid. Thank you.
Not sure you saw my reply, I had email notifications disabled, but they should be working now (hopefully).