Merge remote-tracking branch 'origin/main'

This commit is contained in:
FlorianMichael 2024-02-16 06:10:22 +01:00
commit 988268ba13
No known key found for this signature in database
GPG Key ID: C2FB87E71C425126

View File

@ -95,9 +95,9 @@ public class ProtocolTranslator {
protected Comparator<ProtocolVersion> customComparator() {
return (o1, o2) -> {
if (o1 == AUTO_DETECT_PROTOCOL) {
return -1;
} else if (o2 == AUTO_DETECT_PROTOCOL) {
return 1;
} else if (o2 == AUTO_DETECT_PROTOCOL) {
return -1;
} else {
return 0;
}