Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 22908 Details for
Bug 97547
[search] Package search does not find references in member types import clause
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch to fix this issue
v00.txt (text/plain), 1.10 KB, created by
Frederic Fusier
on 2005-06-13 08:21:23 EDT
(
hide
)
Description:
Patch to fix this issue
Filename:
MIME Type:
Creator:
Frederic Fusier
Created:
2005-06-13 08:21:23 EDT
Size:
1.10 KB
patch
obsolete
>Index: search/org/eclipse/jdt/internal/core/search/matching/PackageReferenceLocator.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/PackageReferenceLocator.java,v >retrieving revision 1.27 >diff -u -r1.27 PackageReferenceLocator.java >--- search/org/eclipse/jdt/internal/core/search/matching/PackageReferenceLocator.java 27 Apr 2005 17:17:13 -0000 1.27 >+++ search/org/eclipse/jdt/internal/core/search/matching/PackageReferenceLocator.java 13 Jun 2005 12:17:20 -0000 >@@ -90,13 +90,7 @@ > } > > protected int matchLevel(ImportReference importRef) { >- // Compare prefix also for static import >- if (!importRef.onDemand || importRef.isStatic()) >- return matchLevelForTokens(importRef.tokens); >- >- return matchesName(this.pattern.pkgName, CharOperation.concatWith(importRef.tokens, '.')) >- ? ACCURATE_MATCH >- : IMPOSSIBLE_MATCH; >+ return matchLevelForTokens(importRef.tokens); > } > protected int matchLevelForTokens(char[][] tokens) { > if (this.pattern.pkgName == null) return ACCURATE_MATCH;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 97547
: 22908 |
22909
|
22910
|
22911