rubenada commented on code in PR #3228:
URL: https://github.com/apache/calcite/pull/3228#discussion_r1210093115
##########
linq4j/src/test/java/org/apache/calcite/linq4j/test/LimitSortTest.java:
##########
@@ -82,7 +82,10 @@ private void randomizedTest(final long seed) {
int tmp = rnd.nextInt(10_000);
int offset = Math.max(0, (int) (tmp - .1 * tmp));
- Comparator<String> cmp = Comparator.<String>naturalOrder()::compare;
+ Comparator<String> nature = Comparator.naturalOrder();
Review Comment:
nitpick: IMO `natural` would be a more suitable name for this variable.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]