Commit 3f35797
committed
Make transport version ids have descending ordering
Transport version ids must be in descending order in definition files.
However, the compareTo for them was ascending and the validation used
reverse ordering. This commit fixes the compareTo so it uses desending
ordering and the validation uses natural ordering.1 parent 7b1edda commit 3f35797
File tree
2 files changed
+3
-2
lines changed- build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/transport
2 files changed
+3
-2
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
0 commit comments