commit | 88148ca92734ce4a6263e50a60334b784860c853 | [log] [tgz] |
---|---|---|
author | David Morgan Spencer Savage <dsavage@apache.org> | Sat Jul 18 14:25:16 2009 +0000 |
committer | David Morgan Spencer Savage <dsavage@apache.org> | Sat Jul 18 14:25:16 2009 +0000 |
tree | 972b8a288db822045edde2c03e3c75b2dd2092a2 | |
parent | e9c109afa3df9c1b1b2b91c754e83af7fcbcd371 [diff] |
Fix for FELIX-1381 git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@795375 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java b/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java index 0c7ab7d..483f38e 100644 --- a/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java +++ b/sigil/eclipse/core/src/org/apache/felix/sigil/eclipse/model/util/JavaHelper.java
@@ -27,6 +27,7 @@ import java.util.ArrayList; import java.util.Collection; import java.util.Collections; +import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; @@ -321,6 +322,12 @@ } } + Collections.sort(entries, new Comparator<IClasspathEntry>() { + public int compare(IClasspathEntry o1, IClasspathEntry o2) { + return o1.toString().compareTo(o2.toString()); + } + }); + monitor.worked(1); monitor.done();