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

Bug 339896

Summary: [change method signature] Preview is incorrect when a varargs parameter is present
Product: [Eclipse Project] JDT Reporter: Didier Loiseau <didierloiseau+eclipse>
Component: UIAssignee: Markus Keller <markus.kell.r>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: markus.kell.r
Version: 3.7   
Target Milestone: 3.7 M7   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Didier Loiseau CLA 2011-03-14 10:30:01 EDT
Build Identifier: 20100617-1415

When adding a varargs parameter (or if one is already present), the type of that parameter is not used in the preview.

Reproducible: Always

Steps to Reproduce:
1. Trigger "Change Method Signature..." for some method
2. Add a varargs parameter if there is not already one
3. The "Method signature preview" at the bottom does not contain the type of the varargs parameter (even if it is not a new parameter)
Comment 1 Markus Keller CLA 2011-03-15 13:55:52 EDT
Fixed in ChangeSignatureProcessor.