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: | It should be possible to suppress 'The if statement is redundant' | ||
---|---|---|---|
Product: | java | Reporter: | tln |
Component: | Hints | Assignee: | Svata Dedic <sdedic> |
Status: | NEW --- | ||
Severity: | normal | CC: | matthies, mkhramov, supuhstar, TradeIdeasPhilip |
Priority: | P3 | ||
Version: | 8.0.2 | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
tln
2015-08-17 15:45:42 UTC
issue #247780 focuses on a different problem. Trivial, the hint impl only does not declare suppress warnings code. Voted, please do implement this. I'm always mystified why not all hints get assigned a suppression ID by default. For every warning, there are circumstances where you want to suppress it for a particular piece of code where you know what you're doing or where the general rule does not apply. Voted. Sometimes, I want my code to be as terse as possible for efficiency, and sometimes I value explicit human-readability over terseness. I want the Java compiler to work with that want. *** Bug 238286 has been marked as a duplicate of this bug. *** |