Summary: | [codeassist] Type parameter name of method declaration proposal must not create conflit | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | David Audel <david_audel> |
Component: | Core | Assignee: | David Audel <david_audel> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.2 M6 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
David Audel
2006-02-16 04:46:05 EST
Fixed and test added CompletionTests_1_5#test0266() -> test0268() Now, if there is a conflict between a method type parameter and another enclosing type then the name of the type parameter is changed. If the name has only one character, the next letter is proposed instead (eg. T -> U). Otherwise a number is added at the end (eg. TypeParameter -> TypeParameter2). JDT/Text doesn't use the completion proposed by JDT/Core and has the same bug. I open a new bug for this problem (bug 128980) Verified using I20060328-0010 for 3.2M6 |