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

Summary: Constructor is shown as deprecated
Product: java Reporter: stefan79 <stefan79>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot.

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.