Project: JDT
Bug 51632 Change Method Signature: Rename method name issues
Reported: 2004-02-11 09:42:22 | Status: verified fixed

20040211 - When the name is empty, the error says 'Choose a name'. Needs a dot. - When 'XXX' is entered, the wizard does not warn about the discouraged name - When entring the same name as the declaring type an error says 'Method cannot have the same name declaring class'. This is not forbidden, just discouraged. Note that the message says 'class' also if the declaring class in an interface - Clear the return type field. The message saye <'' is not a valid return type name>. Should avoid ''.

Files changed in fix:
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/ChangeSignatureWizard.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ParameterEditDialog.java