Skip to main content
summaryrefslogtreecommitdiffstats
path: root/jaxb
diff options
context:
space:
mode:
authorbvosburgh2011-03-02 23:38:04 +0000
committerbvosburgh2011-03-02 23:38:04 +0000
commitc33940b79c906fdb2f20a4ffa99e15f96039d719 (patch)
tree9a0901ed883578c08f088a78ed1218fc474919e8 /jaxb
parentde24ef1f7fb732f140326d9cb6cedb427d5877b6 (diff)
downloadwebtools.dali-c33940b79c906fdb2f20a4ffa99e15f96039d719.tar.gz
webtools.dali-c33940b79c906fdb2f20a4ffa99e15f96039d719.tar.xz
webtools.dali-c33940b79c906fdb2f20a4ffa99e15f96039d719.zip
add ICUStringCollator
Diffstat (limited to 'jaxb')
-rw-r--r--jaxb/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/properties/JaxbProjectPropertiesPage.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/jaxb/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/properties/JaxbProjectPropertiesPage.java b/jaxb/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/properties/JaxbProjectPropertiesPage.java
index 5f4da1f944..d9471eee5b 100644
--- a/jaxb/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/properties/JaxbProjectPropertiesPage.java
+++ b/jaxb/plugins/org.eclipse.jpt.jaxb.ui/src/org/eclipse/jpt/jaxb/ui/internal/properties/JaxbProjectPropertiesPage.java
@@ -15,6 +15,7 @@ import java.util.Comparator;
import java.util.List;
import java.util.Map;
import org.eclipse.core.runtime.IStatus;
+import org.eclipse.jpt.common.core.internal.utility.ICUStringCollator;
import org.eclipse.jpt.common.ui.internal.properties.JptProjectPropertiesPage;
import org.eclipse.jpt.common.ui.internal.utility.swt.SWTTools;
import org.eclipse.jpt.common.utility.internal.StringConverter;
@@ -49,7 +50,6 @@ import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Group;
import org.eclipse.wst.common.project.facet.core.IProjectFacetVersion;
-import com.ibm.icu.text.Collator;
/**
* Way more complicated UI than you would think....
@@ -64,11 +64,7 @@ public class JaxbProjectPropertiesPage
private BufferedWritablePropertyValueModel<JaxbPlatformDescription> platformModel;
private PropertyChangeListener platformListener;
- /* private */ static final Comparator<String> STRING_COMPARATOR = new Comparator<String>() {
- public int compare(String string1, String string2){
- return Collator.getInstance().compare(string1, string2);
- }
- };
+ /* private */ static final Comparator<String> STRING_COMPARATOR = new ICUStringCollator();
// ************ construction ************

Back to the top