Project: JDT
Bug 97397 [Refactor] Change Method Signature - Varargs not allowed
Reported: 2005-05-31 04:21:44 | Status: verified fixed

Version: 3.1.0 Build id: I20050527-1300 (RC1) Steps to reproduce: 1.) Have a Method public void foo(String... strings) { } 2.) Call Refactor > Change Method Signature on foo() 3.) Edit the Parameter "String... strings" 4.) Remove a single point from "String..." in the Type Input 5.) Add a single point to the Type Actual Results: "String..." is not a valid parameter Type Name Expected Results: "String..." is valid Regards, Ben

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/ParameterInfo.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/TypeContextChecker.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ParameterEditDialog.java