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 107010 - "Add @throws" hint generates @throws tag between @param tags
Summary: "Add @throws" hint generates @throws tag between @param tags
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-18 14:54 UTC by Andrei Badea
Modified: 2007-08-27 12:35 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 Andrei Badea 2007-06-18 14:54:38 UTC
070618. For

    /**
     * @param param1
     * @param param2
     */
    public void foo(int param1, int param2) throws InterruptedException {
        
    }

the "Add @throws" hint for InterruptedException generates:

    /**
     * @param param1
     * @throws java.lang.InterruptedException 
     * @param param2
     */
    public void foo(int param1, int param2) throws InterruptedException {
        
    }

The @throws tag should be after the @param tags.
Comment 1 Jan Pokorsky 2007-08-27 12:35:31 UTC
fixed in

/cvs/javadoc/src/org/netbeans/modules/javadoc/hints/JavadocHintProvider.java
new revision: 1.27; previous revision: 1.26