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: | Enhance SuppressWarnings annotation with justification | ||
---|---|---|---|
Product: | apisupport | Reporter: | Petr Hejl <phejl> |
Component: | Harness | Assignee: | Petr Hejl <phejl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | apireviews, tmysik |
Priority: | P2 | Keywords: | API, API_REVIEW_FAST |
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: |
patch
updated patch |
Description
Petr Hejl
2012-11-02 17:54:00 UTC
Created attachment 127038 [details]
patch
Please review. MK1: what happens with the justification? is it used somewhere? or it's just a replacement for a comment? (In reply to comment #3) > MK1: what happens with the justification? is it used somewhere? or it's just a > replacement for a comment? Yep just a doc like attribute. Real world example for a FindBugs check: @org.netbeans.api.annotations.common.SuppressWarnings("DMI_COLLECTION_OF_URLS", justification="Code uses file URLs only") Thanks for the review. I'll integrate it once trunk is open for non-fixes. Created attachment 130656 [details]
updated patch
This patch coverts all present justifications from comment to attribute.
Fixed in web-main 40e79aca5d09. Integrated into 'main-golden', will be available in build *201301300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/40e79aca5d09 User: Petr Hejl <phejl@netbeans.org> Log: #221381 - Enhance SuppressWarnings annotation with justification |