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 125172 - "Remove @param tag" is too greedy
Summary: "Remove @param tag" is too greedy
Status: RESOLVED DUPLICATE of bug 124353
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-13 17:51 UTC by rost
Modified: 2008-01-14 10:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rost 2008-01-13 17:51:18 UTC
Consider the following code snippet:

-------------
    /**
     * this is a method
     * @param wrong a javadoc error
     * @param parameter a parameter
     */
    public void method(int parameter) {
        
    }
-------------

I went to "Tools->Options->Java Code->Hints" and switched on "Javadoc".
Now NetBeans shows me a warning hint at the "@param wrong" line. If I let this hint execute, not only it removes the 
line with "@param wrong" but also the next "@param parameter" line, which is obviously too much.
Comment 1 Jiri Prox 2008-01-14 10:26:37 UTC
This is know issue, see issue 124353, thanks you your report anyway

*** This issue has been marked as a duplicate of 124353 ***