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

Bug 327190

Summary: Refactor encapsulate field preview button double, triple, ... getter and setter methods
Product: [Eclipse Project] JDT Reporter: Goran Jevremovic <gjevremovic>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: minor    
Priority: P3 CC: markus.kell.r, remy.suen
Version: 3.5.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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 ***