| | |
| | | import org.opends.guitools.controlpanel.task.Task; |
| | | import org.opends.guitools.controlpanel.ui.components.AddRemovePanel; |
| | | import org.opends.guitools.controlpanel.util.BackgroundTask; |
| | | import org.opends.guitools.controlpanel.util.LowerCaseComparator; |
| | | import org.opends.guitools.controlpanel.util.Utilities; |
| | | import org.opends.messages.Message; |
| | | import org.opends.messages.MessageBuilder; |
| | |
| | | protected void updateSimpleBackendComboBoxModel(final JComboBox combo, |
| | | final JLabel lNoBackendsFound, ServerDescriptor desc) |
| | | { |
| | | final SortedSet<String> newElements = new TreeSet<String>(); |
| | | final SortedSet<String> newElements = |
| | | new TreeSet<String>(new LowerCaseComparator()); |
| | | for (BackendDescriptor backend : desc.getBackends()) |
| | | { |
| | | if (!backend.isConfigBackend()) |
| | |
| | | { |
| | | LinkedHashSet<CategorizedComboBoxElement> newElements = |
| | | new LinkedHashSet<CategorizedComboBoxElement>(); |
| | | SortedSet<String> backendIDs = new TreeSet<String>(); |
| | | SortedSet<String> backendIDs = |
| | | new TreeSet<String>(new LowerCaseComparator()); |
| | | HashMap<String, SortedSet<String>> hmBaseDNs = |
| | | new HashMap<String, SortedSet<String>>(); |
| | | |
| | |
| | | { |
| | | String backendID = backend.getBackendID(); |
| | | backendIDs.add(backendID); |
| | | SortedSet<String> baseDNs = new TreeSet<String>(); |
| | | SortedSet<String> baseDNs = |
| | | new TreeSet<String>(new LowerCaseComparator()); |
| | | for (BaseDNDescriptor baseDN : backend.getBaseDns()) |
| | | { |
| | | try |