Skip to content

Commit

Permalink
See #23468: Improve performance in the validator tree window
Browse files Browse the repository at this point in the history
Add missing `-` character.

git-svn-id: https://josm.openstreetmap.de/svn/trunk@18978 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
taylor.smock committed Feb 13, 2024
1 parent 862d1b3 commit 655a1b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/openstreetmap/josm/tools/AlphanumComparator.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public final class AlphanumComparator implements Comparator<String>, Serializabl
// We have 37 order overrides for symbols; ASCII tables has control characters through 31. 32-47 are symbols.
// After the symbols, we have 0-9, and then aA-zZ.
// The character order
final String order = " \r\t\n\f\u000b_,;:!?/.`^~'\"()[]{}@$*\\&#%+<=>|0123456789aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ";
final String order = " \r\t\n\f\u000b-_,;:!?/.`^~'\"()[]{}@$*\\&#%+<=>|0123456789aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ";
for (int i = 0; i < order.length(); i++) {
char c = order.charAt(i);
ASCII_MAPPING[c] = (byte) (i + 1);
Expand Down

0 comments on commit 655a1b4

Please sign in to comment.