Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Watson2009-12-14 18:29:25 +0000
committerThomas Watson2009-12-14 18:29:25 +0000
commit439979181a5d683b5216dc5dac260cebbe79c01f (patch)
tree7912c369d0a04f990791aa2dc8db32e4de133b75 /bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/internal/core
parent233fbc10cdbf015745036964e76c1e6ba54f0e81 (diff)
downloadrt.equinox.framework-439979181a5d683b5216dc5dac260cebbe79c01f.tar.gz
rt.equinox.framework-439979181a5d683b5216dc5dac260cebbe79c01f.tar.xz
rt.equinox.framework-439979181a5d683b5216dc5dac260cebbe79c01f.zip
Bug 289719 - PackageAdmin.refreshPackages issue
Diffstat (limited to 'bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/internal/core')
-rw-r--r--bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/internal/core/FrameworkCommandInterpreter.java2
-rw-r--r--bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/internal/core/FrameworkCommandProvider.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/internal/core/FrameworkCommandInterpreter.java b/bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/internal/core/FrameworkCommandInterpreter.java
index 263aab463..a54f2d813 100644
--- a/bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/internal/core/FrameworkCommandInterpreter.java
+++ b/bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/internal/core/FrameworkCommandInterpreter.java
@@ -330,7 +330,7 @@ public class FrameworkCommandInterpreter implements CommandInterpreter {
while (keysEnum.hasMoreElements()) {
keys[i++] = (String) keysEnum.nextElement();
}
- Util.sort(keys);
+ Util.sortByString(keys);
if (title != null) {
println(title);
diff --git a/bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/internal/core/FrameworkCommandProvider.java b/bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/internal/core/FrameworkCommandProvider.java
index 3ee84dbb6..e2f36de7b 100644
--- a/bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/internal/core/FrameworkCommandProvider.java
+++ b/bundles/org.eclipse.osgi/console/src/org/eclipse/osgi/framework/internal/core/FrameworkCommandProvider.java
@@ -1388,12 +1388,12 @@ public class FrameworkCommandProvider implements CommandProvider, SynchronousBun
public void _threads(CommandInterpreter intp) throws Exception {
ThreadGroup[] threadGroups = getThreadGroups();
- Util.sort(threadGroups);
+ Util.sortByString(threadGroups);
ThreadGroup tg = getTopThreadGroup();
Thread[] threads = new Thread[tg.activeCount()];
int count = tg.enumerate(threads, true);
- Util.sort(threads);
+ Util.sortByString(threads);
StringBuffer sb = new StringBuffer(120);
intp.println();

Back to the top