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 154681 Details for
Bug 298047
ArtifactDescriptor.equal() breaks the general contract.
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]
alternative
298047.txt (text/plain), 981 bytes, created by
Andrew Niefer
on 2009-12-17 12:52:49 EST
(
hide
)
Description:
alternative
Filename:
MIME Type:
Creator:
Andrew Niefer
Created:
2009-12-17 12:52:49 EST
Size:
981 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.equinox.p2.repository >Index: src/org/eclipse/equinox/p2/repository/artifact/spi/ArtifactDescriptor.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.equinox/p2/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/spi/Attic/ArtifactDescriptor.java,v >retrieving revision 1.1.2.3 >diff -u -r1.1.2.3 ArtifactDescriptor.java >--- src/org/eclipse/equinox/p2/repository/artifact/spi/ArtifactDescriptor.java 30 Nov 2009 19:25:28 -0000 1.1.2.3 >+++ src/org/eclipse/equinox/p2/repository/artifact/spi/ArtifactDescriptor.java 17 Dec 2009 16:48:39 -0000 >@@ -95,7 +95,7 @@ > return false; > > // Other implementations of IArtifactDescriptor must not be considered equal >- if (!(obj instanceof ArtifactDescriptor)) >+ if (!(obj.getClass().equals(getClass()))) > return false; > > ArtifactDescriptor other = (ArtifactDescriptor) obj;
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 298047
:
154641
|
154681
|
154684