Commit e8ac139
[8.x] Simplify InternalOrder.isOrder a little (elastic#122372) (elastic#122393)
* Simplify InternalOrder.isOrder a little (elastic#122372)
No need for recursion here. We don't allow nested compound order instances
so this thing works exactly as the JavaDoc states and we only need to check
one level down.
* update after review
---------
Co-authored-by: Dimitris Rempapis <[email protected]>1 parent 80740bc commit e8ac139
File tree
1 file changed
+1
-10
lines changed- server/src/main/java/org/elasticsearch/search/aggregations
1 file changed
+1
-10
lines changedLines changed: 1 addition & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
| 443 | + | |
453 | 444 | | |
454 | 445 | | |
455 | 446 | | |
| |||
0 commit comments