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 219049 - Constructor is shown as deprecated
Summary: Constructor is shown as deprecated
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-26 11:27 UTC by stefan79
Modified: 2012-12-07 02:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot. (12.01 KB, image/png)
2012-09-26 11:27 UTC, stefan79
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stefan79 2012-09-26 11:27:48 UTC
Created attachment 124933 [details]
Screenshot.

Here the second constructor is shown as deprecated:

..
public class NewClass {

    @SuppressWarnings("unused")    

    /**My Description
     * @deprecated
     */
    public NewClass() {
    }
    
    //this is shown as deprecated:
    public NewClass(NewClass P_copy) {
        
    }
}
..

Tested at:
Product Version: NetBeans IDE Dev (Build 201209260001)
Updates: Updates available
Java: 1.7.0_07; Java HotSpot(TM) 64-Bit Server VM 23.3-b01
System: Windows 7 version 6.1 running on amd64; Cp1252; de_AT (nb)
User directory: E:\.netbeans\7.3
Cache directory: E:\.netbeans\Cache\7.3
Comment 1 Jiri Prox 2012-10-01 14:57:20 UTC
reproducible

Seems that the annotation before the javadoc is the problem, when it is moved behind the javadoc, everything is ok
Comment 3 Quality Engineering 2012-12-07 02:42:43 UTC
Integrated into 'main-golden', will be available in build *201212070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f3d4bdc33303
User: Dusan Balek <dbalek@netbeans.org>
Log: Issues #208454 and #219049 - fixed.