This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The connection nodes in the services windows are sorted case insensitive (ConnectionNodeProvider.ConnectionComparator), as is the connection list (DatabaseExplorerUIs.ConnectionComparator). In contrast to this the drop down list in the SQL editor toolbar is sorted case sensitive. This should be unified: # This patch file was generated by NetBeans IDE # It uses platform neutral UTF-8 encoding and \n newlines. --- Base (BASE) +++ Locally Modified (Based On LOCAL) @@ -338,7 +338,7 @@ Collections.sort(connectionList, new Comparator<DatabaseConnection>() { @Override public int compare(DatabaseConnection o1, DatabaseConnection o2) { - return o1.getDisplayName().compareTo(o2.getDisplayName()); + return o1.getDisplayName().compareToIgnoreCase(o2.getDisplayName()); } }); }
The change needs to be done in ConnectionAction.java: ConnectionAction.DatabaseConnectionModel#sortConnections
Patch applied - http://hg.netbeans.org/core-main/rev/6be44d32c03d Thank you Matthias
Integrated into 'main-silver', will be available in build *201402280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/6be44d32c03d User: Libor Fischmeistr <lfischmeistr@netbeans.org> Log: #242384: Connection-List in SQL Editor is sorted different from nodes