Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDejan Gloszic2006-01-20 02:09:32 +0000
committerDejan Gloszic2006-01-20 02:09:32 +0000
commita6f775c48702d0d69221477edb3b95a0fa2e8f73 (patch)
tree2a76827829e6111b43167832cdfa6678ea00b4fd /org.eclipse.ua.tests/intro/org
parenta3b29a00a995e9d092998dbb03daf2bec742a419 (diff)
downloadeclipse.platform.ua-a6f775c48702d0d69221477edb3b95a0fa2e8f73.tar.gz
eclipse.platform.ua-a6f775c48702d0d69221477edb3b95a0fa2e8f73.tar.xz
eclipse.platform.ua-a6f775c48702d0d69221477edb3b95a0fa2e8f73.zip
*** empty log message ***v20060120
Diffstat (limited to 'org.eclipse.ua.tests/intro/org')
-rw-r--r--org.eclipse.ua.tests/intro/org/eclipse/ua/tests/intro/util/IntroModelSerializer.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/org.eclipse.ua.tests/intro/org/eclipse/ua/tests/intro/util/IntroModelSerializer.java b/org.eclipse.ua.tests/intro/org/eclipse/ua/tests/intro/util/IntroModelSerializer.java
index 3b0bbd66a..5c7e26a81 100644
--- a/org.eclipse.ua.tests/intro/org/eclipse/ua/tests/intro/util/IntroModelSerializer.java
+++ b/org.eclipse.ua.tests/intro/org/eclipse/ua/tests/intro/util/IntroModelSerializer.java
@@ -11,6 +11,7 @@
package org.eclipse.ua.tests.intro.util;
import java.util.Arrays;
+import java.util.Comparator;
import java.util.Hashtable;
import java.util.Set;
@@ -118,12 +119,14 @@ public class IntroModelSerializer {
Set set = altStylesHashtable.keySet();
String[] sorted = new String[set.size()];
set.toArray(sorted);
+ for (int i=0;i<sorted.length;++i) {
+ Bundle bundle = (Bundle) altStylesHashtable.get(sorted[i]);
+ sorted[i] = filterURL(sorted[i]) + " from " + bundle.getSymbolicName(); //$NON-NLS-1$
+ }
Arrays.sort(sorted);
for (int i=0;i<sorted.length;++i) {
- Bundle bundle = (Bundle) altStylesHashtable.get(sorted[i]);
- text.append(filterURL(sorted[i]) + " from " + bundle.getSymbolicName()); //$NON-NLS-1$
- text.append("\n\t\t"); //$NON-NLS-1$
+ text.append(sorted[i] + "\n\t\t"); //$NON-NLS-1$
}
}

Back to the top