Jean-Baptiste Queru | b56ea2a | 2013-01-08 11:11:20 -0800 | [diff] [blame] | 1 | <html> |
| 2 | <body> |
| 3 | Reports <b>instanceof</b> expressions where |
| 4 | the compared type is an interface, and the compared expression has a class type which neither |
| 5 | implements the compared interface, nor has any visible subclasses which implement or extend the compared interface. |
| 6 | While it is possible that this was intended, such a construct is most likely an error, where |
| 7 | the resulting <b>instanceof</b> expression always evaluates to |
| 8 | <b>false</b> |
| 9 | <!-- tooltip end --> |
| 10 | <p> |
Tor Norbye | c1ace1f | 2013-07-08 11:26:24 -0700 | [diff] [blame] | 11 | |
Jean-Baptiste Queru | b56ea2a | 2013-01-08 11:11:20 -0800 | [diff] [blame] | 12 | </body> |
| 13 | </html> |