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 196037 - "Encapsulate fields" Refactoring deletes javadoc comments.
Summary: "Encapsulate fields" Refactoring deletes javadoc comments.
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-26 09:58 UTC by lgs
Modified: 2011-02-28 06:30 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 lgs 2011-02-26 09:58:08 UTC
Suppose you have fields with javadoc comments like:
/**
 comments ...
*/
protected int x;

Then, use encapsulate fields refactoring to make this field private. After refactoring, the comment is gone.

---
Product Version = NetBeans IDE 6.9.1 (Build 201011082200)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_17
Runtime = Java HotSpot(TM) Client VM 14.3-b01
Comment 1 Jan Becicka 2011-02-28 06:30:30 UTC
cannot reproduce in 7.0. probably fixed.