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 23211 Details for
Bug 99978
MalformedTreeException on Inline Method
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Change in BindingComparator
patch99978_org.eclipse.jdt.core.txt (text/plain), 1.41 KB, created by
Jerome Lanneluc
on 2005-06-15 12:17:32 EDT
(
hide
)
Description:
Change in BindingComparator
Filename:
MIME Type:
Creator:
Jerome Lanneluc
Created:
2005-06-15 12:17:32 EDT
Size:
1.41 KB
patch
obsolete
>Index: dom/org/eclipse/jdt/core/dom/BindingComparator.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BindingComparator.java,v >retrieving revision 1.18 >diff -u -r1.18 BindingComparator.java >--- dom/org/eclipse/jdt/core/dom/BindingComparator.java 15 May 2005 10:14:24 -0000 1.18 >+++ dom/org/eclipse/jdt/core/dom/BindingComparator.java 15 Jun 2005 16:07:24 -0000 >@@ -168,16 +168,12 @@ > return true; > } > } >- // TODO (olivier) should optimize to use switch(binding.kind()) & modifier bitmask comparisons > static boolean isEqual(org.eclipse.jdt.internal.compiler.lookup.TypeBinding typeBinding, org.eclipse.jdt.internal.compiler.lookup.TypeBinding typeBinding2, HashSet visitedTypes) { > if (typeBinding == typeBinding2) > return true; > if (typeBinding == null || typeBinding2 == null) > return false; > >- if (visitedTypes.contains(typeBinding)) return true; >- visitedTypes.add(typeBinding); >- > switch (typeBinding.kind()) { > case Binding.BASE_TYPE : > if (!typeBinding2.isBaseType()) { >@@ -213,6 +209,9 @@ > && wildcardBinding.boundKind == wildcardBinding2.boundKind; > > case Binding.TYPE_PARAMETER : >+ if (visitedTypes.contains(typeBinding)) return true; >+ visitedTypes.add(typeBinding); >+ > if (!(typeBinding2.isTypeVariable())) { > return false; > }
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 99978
:
23061
| 23211 |
23212