Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff McAffer2007-11-09 04:22:59 +0000
committerJeff McAffer2007-11-09 04:22:59 +0000
commitfcea91b2f7245eed48cd1567632b3abdeaef85c6 (patch)
treedb4d3df7796765a629a0ce3721b07a22b13919a6 /bundles/org.eclipse.equinox.p2.metadata
parentfc90971ca172753f1bbb91cedb638771fdab18fd (diff)
downloadrt.equinox.p2-fcea91b2f7245eed48cd1567632b3abdeaef85c6.tar.gz
rt.equinox.p2-fcea91b2f7245eed48cd1567632b3abdeaef85c6.tar.xz
rt.equinox.p2-fcea91b2f7245eed48cd1567632b3abdeaef85c6.zip
update the JarDelta optimizer/processors, integrate with JBdiff and add some tests
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.metadata')
-rw-r--r--bundles/org.eclipse.equinox.p2.metadata/META-INF/MANIFEST.MF2
-rw-r--r--bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/internal/p2/metadata/ArtifactKey.java6
2 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.equinox.p2.metadata/META-INF/MANIFEST.MF b/bundles/org.eclipse.equinox.p2.metadata/META-INF/MANIFEST.MF
index c4034b18c..2f6c463b0 100644
--- a/bundles/org.eclipse.equinox.p2.metadata/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.equinox.p2.metadata/META-INF/MANIFEST.MF
@@ -5,7 +5,7 @@ Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-Version: 0.1.0.qualifier
-Export-Package: org.eclipse.equinox.internal.p2.metadata;x-friends:="org.eclipse.equinox.p2.metadata.generator,org.eclipse.equinox.p2.metadata.repository,org.eclipse.equinox.p2.engine,org.eclipse.equinox.p2.artifact.repository",
+Export-Package: org.eclipse.equinox.internal.p2.metadata;x-friends:="org.eclipse.equinox.p2.metadata.generator,org.eclipse.equinox.p2.metadata.repository,org.eclipse.equinox.p2.engine,org.eclipse.equinox.p2.artifact.repository,org.eclipse.equinox.p2.artifact.optimizers",
org.eclipse.equinox.p2.metadata,
org.eclipse.equinox.p2.query,
org.eclipse.equinox.p2.resolution
diff --git a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/internal/p2/metadata/ArtifactKey.java b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/internal/p2/metadata/ArtifactKey.java
index aa089edb6..f34182859 100644
--- a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/internal/p2/metadata/ArtifactKey.java
+++ b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/internal/p2/metadata/ArtifactKey.java
@@ -70,10 +70,10 @@ public class ArtifactKey implements IArtifactKey {
}
public boolean equals(Object obj) {
- if (!(obj instanceof ArtifactKey))
+ if (!(obj instanceof IArtifactKey))
return false;
- ArtifactKey ak = (ArtifactKey) obj;
- return ak.id.equals(id) && ak.getVersion().equals(getVersion()) && ak.namespace.equals(namespace) && ak.classifier.equals(classifier);
+ IArtifactKey ak = (IArtifactKey) obj;
+ return ak.getId().equals(id) && ak.getVersion().equals(getVersion()) && ak.getNamespace().equals(namespace) && ak.getClassifier().equals(classifier);
}
public String getId() {

Back to the top