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 154641 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]
Patch implementing #2
simpleartifactdescriptor.patch (text/plain), 1.08 KB, created by
Thomas Hallgren
on 2009-12-17 04:20:22 EST
(
hide
)
Description:
Patch implementing #2
Filename:
MIME Type:
Creator:
Thomas Hallgren
Created:
2009-12-17 04:20:22 EST
Size:
1.08 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.equinox.p2.artifact.repository >Index: src/org/eclipse/equinox/internal/p2/artifact/repository/simple/SimpleArtifactDescriptor.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.equinox/p2/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/p2/artifact/repository/simple/Attic/SimpleArtifactDescriptor.java,v >retrieving revision 1.1.2.4 >diff -u -r1.1.2.4 SimpleArtifactDescriptor.java >--- src/org/eclipse/equinox/internal/p2/artifact/repository/simple/SimpleArtifactDescriptor.java 8 Dec 2009 07:04:54 -0000 1.1.2.4 >+++ src/org/eclipse/equinox/internal/p2/artifact/repository/simple/SimpleArtifactDescriptor.java 17 Dec 2009 09:20:20 -0000 >@@ -59,8 +59,8 @@ > public boolean equals(Object obj) { > if (this == obj) > return true; >- if (obj == null || !(obj instanceof SimpleArtifactDescriptor)) >- return false; >+ if (!(obj instanceof SimpleArtifactDescriptor)) >+ return super.equals(obj); > > SimpleArtifactDescriptor other = (SimpleArtifactDescriptor) 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