This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Undue hint about "unnecessary test for null" | ||
---|---|---|---|
Product: | java | Reporter: | aquaglia <aquaglia> |
Component: | Hints | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 249320 | ||
Bug Blocks: |
Description
aquaglia
2014-11-12 09:02:08 UTC
Linking to an umbrella issue Hi; I tried to reproduce the issue and (on a simple example) it seems to work well. Please check the preceding code - if there's something like "containerFolder.xxx" (dereference of the containerFolder), the IDE assumes the containerFolder must not be null after this point. If you're confident that the report is a false alarm, please try to create a sample which contains a whole method. |