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 23845 Details for
Bug 101426
[search] Search doesn't work with imported plugin
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.18 KB, created by
Frederic Fusier
on 2005-06-23 10:02:42 EDT
(
hide
)
Description:
Patch to fix this issue
Filename:
MIME Type:
Creator:
Frederic Fusier
Created:
2005-06-23 10:02:42 EDT
Size:
1.18 KB
patch
obsolete
>Index: search/org/eclipse/jdt/internal/core/search/JavaSearchScope.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/JavaSearchScope.java,v >retrieving revision 1.43 >diff -u -r1.43 JavaSearchScope.java >--- search/org/eclipse/jdt/internal/core/search/JavaSearchScope.java 22 Jun 2005 14:47:25 -0000 1.43 >+++ search/org/eclipse/jdt/internal/core/search/JavaSearchScope.java 23 Jun 2005 13:30:47 -0000 >@@ -306,11 +306,7 @@ > for (int i = 0, length = this.paths.length; i < length; i++) { > String scopePath = this.paths[i]; > if (scopePath == null) continue; >- if (scopePath.length() == 0) >- scopePath = this.containerPaths[i]; >- else >- scopePath = this.containerPaths[i] + '/' + scopePath; >- if (encloses(scopePath, relativePath, i)) >+ if (encloses(this.containerPaths[i] + '/' + scopePath, relativePath, i)) > return i; > } > return -1; >@@ -331,6 +327,7 @@ > return path.equals(scopePath); > } > if (path.startsWith(scopePath)) { >+ if (scopePath.charAt(scopeLength-1) == '/') scopeLength--; > return path.charAt(scopeLength) == '/'; > } > } else {
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 101426
: 23845 |
23856