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 141381

Summary: [Encapsulate Fields] JavaDoc option resets to "Create Default Comments" for Encapsulate Fields
Product: java Reporter: dkittle <dkittle>
Component: RefactoringAssignee: Jan Becicka <jbecicka>
Status: RESOLVED FIXED    
Severity: blocker CC: denbo
Priority: P4    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description dkittle 2008-07-23 16:05:48 UTC
When Encapsulating Fields, the JavaDoc option keeps resetting to "Create Default Comments".  I think it much more usable
if the dialog (all fields in the dialog) remember he last options used rather than resetting to some default options
every time the dialog is opened.

To reproduce:
Refactor -> Encapsulate Field...
set JavaDoc option to none
click Refactor
add another field (or go to another bean)
Refactor -> Encapsulate Field...
note that JavaDoc option is Create Default Comments
set JavaDoc option to none (and growl)
click Refactor
...
Comment 1 Jan Becicka 2010-12-02 12:47:54 UTC
Changeset: http://hg.netbeans.org/jet-main/rev/9da8650a2f81
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2010-12-02 13:47
Message:   Issue #141381 - [Encapsulate Fields] JavaDoc option resets to "Create Default Comments" for Encapsulate Fields
Comment 2 Quality Engineering 2010-12-03 06:19:23 UTC
Integrated into 'main-golden', will be available in build *201012030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/9da8650a2f81
User: Jan Becicka <jbecicka@netbeans.org>
Log: Issue #141381 - [Encapsulate Fields] JavaDoc option resets to "Create Default Comments" for Encapsulate Fields
Comment 3 Ralph Ruijs 2013-09-04 09:29:32 UTC
*** Bug 144546 has been marked as a duplicate of this bug. ***