Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2014-01-31 16:39:58 +0000
committerThomas Watson2014-01-31 16:39:58 +0000
commit85214948028e4caa2bf04b30b49176eb2bee3a53 (patch)
tree375733f1c49a553c9d7b264bba3ba5575d7c0d38
parent7291264c0091afb9a68edc4f96a0a5d3a3feb662 (diff)
downloadrt.equinox.bundles-85214948028e4caa2bf04b30b49176eb2bee3a53.tar.gz
rt.equinox.bundles-85214948028e4caa2bf04b30b49176eb2bee3a53.tar.xz
rt.equinox.bundles-85214948028e4caa2bf04b30b49176eb2bee3a53.zip
Bug 427143 - [console] bundle and getPackages command return duplicate visible packages for split packagesI20140211-0800I20140209-1458I20140204-0800
-rwxr-xr-xbundles/org.eclipse.equinox.console/src/org/eclipse/equinox/console/commands/EquinoxCommandProvider.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.console/src/org/eclipse/equinox/console/commands/EquinoxCommandProvider.java b/bundles/org.eclipse.equinox.console/src/org/eclipse/equinox/console/commands/EquinoxCommandProvider.java
index e362db025..57f60c334 100755
--- a/bundles/org.eclipse.equinox.console/src/org/eclipse/equinox/console/commands/EquinoxCommandProvider.java
+++ b/bundles/org.eclipse.equinox.console/src/org/eclipse/equinox/console/commands/EquinoxCommandProvider.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2003, 2013 IBM Corporation and others.
+ * Copyright (c) 2003, 2014 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -1731,7 +1731,7 @@ public class EquinoxCommandProvider implements SynchronousBundleListener {
}
boolean sourceFound = false;
for (PackageSource packageSource : packageSources) {
- sourceFound |= packageCapability.equals(packageSource);
+ sourceFound |= packageCapability.equals(packageSource.getCapability());
if (sourceFound) {
break;
}

Back to the top