FELIX-1957 Replace use of LinkedHashMap not available in OSGi/Minimum-1.0 EE by TreeMap.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@900182 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole/src/main/java/org/apache/felix/webconsole/internal/servlet/ConfigurationListener.java b/webconsole/src/main/java/org/apache/felix/webconsole/internal/servlet/ConfigurationListener.java
index a81e213..14620cf 100644
--- a/webconsole/src/main/java/org/apache/felix/webconsole/internal/servlet/ConfigurationListener.java
+++ b/webconsole/src/main/java/org/apache/felix/webconsole/internal/servlet/ConfigurationListener.java
@@ -23,7 +23,7 @@
import java.util.ArrayList;
import java.util.Dictionary;
import java.util.Hashtable;
-import java.util.LinkedHashMap;
+import java.util.TreeMap;
import org.apache.felix.webconsole.AbstractWebConsolePlugin;
import org.osgi.framework.Constants;
@@ -110,7 +110,7 @@
"The password for the user allowed to access the OSGi Management Console.",
OsgiManager.DEFAULT_PASSWORD ) );
- final LinkedHashMap namesByClassName = new LinkedHashMap();
+ final TreeMap namesByClassName = new TreeMap();
final ClassLoader loader = getClass().getClassLoader();
final String[] defaultPluginsClasses = OsgiManager.PLUGIN_CLASSES;
for ( int i = 0; i < defaultPluginsClasses.length; i++ )