diff options
author | Pascal Rapicault | 2008-11-10 21:31:34 +0000 |
---|---|---|
committer | Pascal Rapicault | 2008-11-10 21:31:34 +0000 |
commit | 23f6ddd8c145d51f26eb04d5078250a8895dad11 (patch) | |
tree | 2dbdbfd381e5f71f1f31a3003c3598c84f4e5c13 /bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/provisional | |
parent | dea0b52f8de255fccb942e35258a33ce2c48ee90 (diff) | |
download | rt.equinox.p2-23f6ddd8c145d51f26eb04d5078250a8895dad11.tar.gz rt.equinox.p2-23f6ddd8c145d51f26eb04d5078250a8895dad11.tar.xz rt.equinox.p2-23f6ddd8c145d51f26eb04d5078250a8895dad11.zip |
Change property against which some values are changed
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/provisional')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/provisional/p2/artifact/repository/ArtifactDescriptor.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/provisional/p2/artifact/repository/ArtifactDescriptor.java b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/provisional/p2/artifact/repository/ArtifactDescriptor.java index 0dfc5562e..3ff85074a 100644 --- a/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/provisional/p2/artifact/repository/ArtifactDescriptor.java +++ b/bundles/org.eclipse.equinox.p2.artifact.repository/src/org/eclipse/equinox/internal/provisional/p2/artifact/repository/ArtifactDescriptor.java @@ -142,8 +142,8 @@ public class ArtifactDescriptor implements IArtifactDescriptor { if ((locationProperty != null && !locationProperty.equals(otherProperty)) || locationProperty != otherProperty) return false; - locationProperty = getRepositoryProperty(FORMAT); - otherProperty = other.getRepositoryProperty(FORMAT); + locationProperty = getProperty(FORMAT); + otherProperty = other.getProperty(FORMAT); if ((locationProperty != null && !locationProperty.equals(otherProperty)) || locationProperty != otherProperty) return false; @@ -167,7 +167,7 @@ public class ArtifactDescriptor implements IArtifactDescriptor { result = prime * result + ((key == null) ? 0 : key.hashCode()); result = prime * result + hashCode(processingSteps); - String[] hashProperties = new String[] {getRepositoryProperty(ARTIFACT_REFERENCE), getRepositoryProperty(FORMAT)}; + String[] hashProperties = new String[] {getRepositoryProperty(ARTIFACT_REFERENCE), getProperty(FORMAT)}; result = prime * result + hashCode(hashProperties); return result; } |