Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327190 - Refactor encapsulate field preview button double, triple, ... getter and setter methods
Summary: Refactor encapsulate field preview button double, triple, ... getter and sett...
Status: CLOSED DUPLICATE of bug 294856
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5.1   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-07 04:40 EDT by Goran Jevremovic CLA
Modified: 2010-10-08 09:23 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Goran Jevremovic CLA 2010-10-07 04:40:04 EDT
Build Identifier: 20090920-1017

Refactor -> Encapsulate field:

Action adds getter and setter method depends how many times is clicked on preview button.

Reproducible: Always

Steps to Reproduce:
1. Create new field in class
2. Alt + Shift + T (Refactor)
3. Encapsulate Field
4. Press Preview> button more than once
5. Press OK
6. Multiple getter and setter methods should be added in class
Comment 1 Remy Suen CLA 2010-10-07 05:51:26 EDT
What are you programming in? Java?
Comment 2 Goran Jevremovic CLA 2010-10-08 05:56:38 EDT
Java

(In reply to comment #1)
> What are you programming in? Java?
Comment 3 Remy Suen CLA 2010-10-08 06:12:47 EDT
Problems with Eclipse's Java tooling goes to JDT.
Comment 4 Markus Keller CLA 2010-10-08 09:23:14 EDT

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