Bug 123076 - [encapsulate field] default access modifier should be public
Summary: [encapsulate field] default access modifier should be public
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-09 04:56 EST by tonis CLA
Modified: 2006-08-07 03:47 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.