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 22903 Details for
Bug 96950
[search] Code assist proposes non accessible types into completion
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.54 KB, created by
Frederic Fusier
on 2005-06-13 07:59:15 EDT
(
hide
)
Description:
Patch to fix this issue
Filename:
MIME Type:
Creator:
Frederic Fusier
Created:
2005-06-13 07:59:15 EDT
Size:
1.54 KB
patch
obsolete
>Index: search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java,v >retrieving revision 1.16 >diff -u -r1.16 BasicSearchEngine.java >--- search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java 1 Jun 2005 18:56:14 -0000 1.16 >+++ search/org/eclipse/jdt/internal/core/search/BasicSearchEngine.java 13 Jun 2005 11:50:03 -0000 >@@ -539,7 +539,7 @@ > && !workingCopyPaths.contains(documentPath)) { // filter out working copies > if (access != null) { > // Compute document relative path >- int pkgLength = record.pkg==null ? 0 : record.pkg.length+1; >+ int pkgLength = (record.pkg==null || record.pkg.length==0) ? 0 : record.pkg.length+1; > int nameLength = record.simpleName==null ? 0 : record.simpleName.length; > char[] path = new char[pkgLength+nameLength]; > int pos = 0; >@@ -762,7 +762,7 @@ > AccessRestriction accessRestriction = null; > if (access != null) { > // Compute document relative path >- int qualificationLength = record.qualification == null ? 0 : record.qualification.length + 1; >+ int qualificationLength = (record.qualification == null || record.qualification.length == 0) ? 0 : record.qualification.length + 1; > int nameLength = record.simpleName == null ? 0 : record.simpleName.length; > char[] path = new char[qualificationLength + nameLength]; > int pos = 0;
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 96950
: 22903 |
22907