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.

Bug 222027

Summary: There is no easy way to deactivate (or "ignore") a detector in Inspector window
Product: java Reporter: ecerichter
Component: FindBugsAssignee: Petr Hejl <phejl>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description ecerichter 2012-11-13 11:11:33 UTC
Product Version = NetBeans IDE Dev (Build 201211110001)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_09
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.5-b02

When working with the Inspector window, user would be able to disable (or filter) some detectors.
In the specific case (of the screenshot), the user knows there is a hard coded reference in the method, it is because this is a main method created for tests.
In this case, developer need to right click the issue and "disable it", "filter out" or "ignore this".

Also, would be much better if developer can disable the detector at that line of code only (I would like that detector keep detecting other hard coded references!).

Thanks,

Edson.