Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339896 - [change method signature] Preview is incorrect when a varargs parameter is present
Summary: [change method signature] Preview is incorrect when a varargs parameter is pr...
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: 3.7 M7   Edit
Assignee: Markus Keller CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-14 10:30 EDT by Didier Loiseau CLA
Modified: 2011-03-15 13:55 EDT (History)
1 user (show)

See Also:


Attachments

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