Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 436271

Summary: [getter setter] Do not force creation of both getter and setter in quick fix dialog
Product: [Eclipse Project] JDT Reporter: Daniel Glus <danielhglus>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert
Version: 4.3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 8   
Whiteboard:

Description Daniel Glus CLA 2014-05-30 21:35:17 EDT
In the "Encapsulate Field" dialog (generated by selecting the quick fix option from the warning "Field not used"), both a getter and a setter are always generated. The dialog shows two text fields for the two names (of the getter and setter methods).

The dialog should not force the user to create both a getter and a setter.
Comment 1 Dani Megert CLA 2014-05-31 03:33:06 EDT

*** This bug has been marked as a duplicate of bug 232920 ***