This was with IDEA build 614, Red Hat Linux 7.2

On Thursday 28 March 2002 10:04 am, Rick Vestal wrote:
> Hi all,
>
> With the following code:
>
> String strLine = lineRdr.readLine();
> int nIndex = strLine.indexOf( "public void test" );
> if ( strLine != null && nIndex != -1 ) {
>     strLastMethod = strLine.substring( nIndex + 12, strLine.indexOf( "(" )
> ); }
>
>
> The strLine != null part of the if statement is marked as "always being
> true" in the Constant Conditions tab of inspection.
>
> -- Rick

_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to