Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 298047 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/equinox/p2/repository/artifact/spi/ArtifactDescriptor.java (-1 / +1 lines)
Lines 95-101 Link Here
95
			return false;
95
			return false;
96
96
97
		// Other implementations of IArtifactDescriptor must not be considered equal
97
		// Other implementations of IArtifactDescriptor must not be considered equal
98
		if (!(obj instanceof ArtifactDescriptor))
98
		if (!(obj.getClass().equals(getClass())))
99
			return false;
99
			return false;
100
100
101
		ArtifactDescriptor other = (ArtifactDescriptor) obj;
101
		ArtifactDescriptor other = (ArtifactDescriptor) obj;

Return to bug 298047