Bug 178227 - [null][compiler] Scope.java has 4 "Null comparison always yields false" problems
Summary: [null][compiler] Scope.java has 4 "Null comparison always yields false" problems
Status: RESOLVED DUPLICATE of bug 176472
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-20 07:09 EDT by Markus Keller CLA
Modified: 2007-03-20 07:49 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2007-03-20 07:09:46 EDT
I20070320-0010

Scope.java from org.eclipse.jdt.core has 4 "Null comparison always yields false" errors if 'Redundant null check' is set to error.

The affected method is too complex for me to understand, but either the problems are false positives, or the code could be simplified.
Comment 1 Maxime Daniel CLA 2007-03-20 07:49:40 EDT
Markus, these are false positives that we detected on the very same code when we separated the various null warnings. Bug 176472 was opened for this, even if it displays a much simpler test case than Scope! Thanks for raising the problem anyway.

*** This bug has been marked as a duplicate of bug 176472 ***