[jira] (JETTY-1562) False positive 'Broken Null Check'

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] (JETTY-1562) False positive 'Broken Null Check'

JIRA jira@codehaus.org
Message Title
Adriaan Peeters commented on an issue
Jetty / Bug JETTY-1562
False positive 'Broken Null Check'
The following code triggers the 'Broken Null Check' incorrectly.

{{number}} is a local variable. {{this.number}} is an object variable that is always not-null.

{code}
if (number == null && this.number.isEmpty()) {
{code}

--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email