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 115823 Details for
Bug 251679
Error for API addition gets wrongly reported
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Proposed fix
patch_251679.txt (text/plain), 1.31 KB, created by
Olivier Thomann
on 2008-10-22 11:27:42 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2008-10-22 11:27:42 EDT
Size:
1.31 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.pde.api.tools >Index: src/org/eclipse/pde/api/tools/internal/util/Util.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/util/Util.java,v >retrieving revision 1.81 >diff -u -r1.81 Util.java >--- src/org/eclipse/pde/api/tools/internal/util/Util.java 22 Oct 2008 14:00:00 -0000 1.81 >+++ src/org/eclipse/pde/api/tools/internal/util/Util.java 22 Oct 2008 14:52:12 -0000 >@@ -2578,9 +2578,16 @@ > if (Signature.getArrayCount(type) == Signature.getArrayCount(type2)) { > String el1 = Signature.getElementType(type); > String el2 = Signature.getElementType(type2); >- if (Signature.getSignatureSimpleName(el1).equals(Signature.getSignatureSimpleName(el2))) { >+ String signatureSimpleName = Signature.getSignatureSimpleName(el1); >+ String signatureSimpleName2 = Signature.getSignatureSimpleName(el2); >+ if (signatureSimpleName.equals(signatureSimpleName2)) { > return true; > } >+ int index = signatureSimpleName2.lastIndexOf('.'); >+ if (index != -1) { >+ // the right side is a member type >+ return signatureSimpleName.equals(signatureSimpleName2.subSequence(index + 1, signatureSimpleName2.length())); >+ } > } > 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 251679
: 115823