| Summary: | JavaSearchScope#indexOf needs to be updated to deal with package fragment roots enclosed by another package fragment root | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Ian Tewksbury <itewksbu> | ||||
| Component: | General | Assignee: | Ian Tewksbury <itewksbu> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Nitin Dahyabhai <thatnitind> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | Flags: | thatnitind:
review+
|
||||
| Version: | 3.2.3 | ||||||
| Target Milestone: | 3.2.3 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Ian Tewksbury
Created attachment 183149 [details]
Fix Patch
Patch that updates JavaSearchScope#indexOf to find the most specific container path that encloses the given path.
Passes all existing JUnits.
Committed to 3.2.3 and HEAD, thanks, Ian. I just noticed my comment in this patch is wrong: //if have not found answer yet or the new answer is not enclosed by the previous answer and is thus more specific should read //if have not found answer yet or the new answer is does not enclose the previous answer and is thus more specific |