org.sonar.l10n.findbugs.BC_VACUOUS_INSTANCEOF.html Maven / Gradle / Ivy
This instanceof test will always return true (unless the value being tested is null).
Although this is safe, make sure it isn't
an indication of some misunderstanding or some other logic error.
If you really want to test the value for being null, perhaps it would be clearer to do
better to do a null test rather than an instanceof test.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy