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 105136 Details for
Bug 237123
[search] And/OrPatterns miss to override one overload
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
New proposed patch
v00.txt (text/plain), 2.29 KB, created by
Frederic Fusier
on 2008-06-17 02:07:00 EDT
(
hide
)
Description:
New proposed patch
Filename:
MIME Type:
Creator:
Frederic Fusier
Created:
2008-06-17 02:07:00 EDT
Size:
2.29 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: search/org/eclipse/jdt/internal/core/search/matching/AndLocator.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/AndLocator.java,v >retrieving revision 1.3 >diff -u -r1.3 AndLocator.java >--- search/org/eclipse/jdt/internal/core/search/matching/AndLocator.java 27 May 2008 23:46:43 -0000 1.3 >+++ search/org/eclipse/jdt/internal/core/search/matching/AndLocator.java 17 Jun 2008 06:02:29 -0000 >@@ -228,6 +228,9 @@ > } > weakestPattern.matchReportReference(reference, element, localElement, otherElements, elementBinding, accuracy, locator); > } >+protected void matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) throws CoreException { >+ matchReportReference(reference, element, null, null, elementBinding, accuracy, locator); >+} > public int resolveLevel(ASTNode node) { > int level = ACCURATE_MATCH; > for (int i = 0, length = this.patternLocators.length; i < length; i++) { >Index: search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java,v >retrieving revision 1.22 >diff -u -r1.22 OrLocator.java >--- search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java 27 May 2008 23:46:43 -0000 1.22 >+++ search/org/eclipse/jdt/internal/core/search/matching/OrLocator.java 17 Jun 2008 06:02:29 -0000 >@@ -264,6 +264,9 @@ > if (closestPattern != null) > closestPattern.matchReportReference(reference, element, localElement, otherElements, elementBinding, accuracy, locator); > } >+protected void matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) throws CoreException { >+ matchReportReference(reference, element, null, null, elementBinding, accuracy, locator); >+} > public SearchMatch newDeclarationMatch(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, int length, MatchLocator locator) { > PatternLocator closestPattern = null; > int level = IMPOSSIBLE_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 237123
:
104897
| 105136