Bug 123076

Summary: [encapsulate field] default access modifier should be public
Product: [Eclipse Project] JDT Reporter: tonis <tvwww>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description tonis CLA 2006-01-09 04:56:17 EST
I and probably most create public getters 95 % of time. Because this action is used so often  it is really annoying to select each time.
 Either make public modifier as default or remember users last selection. Thanks.
Comment 1 Martin Aeschlimann CLA 2006-01-10 10:53:07 EST
remembering the last used modifier makes sense to me.
Comment 2 Markus Keller CLA 2006-01-10 11:47:04 EST
Currently, the default is the original visibility of the field. Note that remembering the last modifier does not work in all cases, since the refactoring never allows to reduce the visibility of the accessors. In such cases, the visibility would have to be increased automatically.