Summary: | [search] searchAllTypeNames return nothing for empty prefix | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | David Audel <david_audel> | ||||
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.3 | ||||||
Target Milestone: | 3.3 M2 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
David Audel
2006-09-06 06:19:29 EDT
Created attachment 49585 [details]
Proposed patch
Remove optimization at the beginning of searchAllTypeNames which stopped the search when package name was null (or empty) and type name empty. This was obviously wrong for prefix and camel case patterns...
I assume there won't be any performance impact as it concerns only a few cases of all type names search.
Released for 3.3 M2 in HEAD stream. Verified for 3.3 M2 using build I20060918-0010. |