DonalEvans commented on a change in pull request #6715:
URL: https://github.com/apache/geode/pull/6715#discussion_r677751347



##########
File path: 
geode-apis-compatible-with-redis/src/main/java/org/apache/geode/redis/internal/executor/sortedset/SortedSetRangeOptions.java
##########
@@ -20,10 +20,10 @@
 import java.util.Arrays;
 
 public class SortedSetRangeOptions {
-  private final double minDouble;
-  private final boolean minExclusive;
-  private final double maxDouble;
-  private final boolean maxExclusive;
+  private final double startDouble;
+  private final boolean startExclusive;
+  private final double endDouble;
+  private final boolean endExclusive;

Review comment:
       Rather than renaming all of these fields and methods, would it be 
simpler to just pass the appropriate arguments to the constructor in 
`ZRevRangeByScoreExecutor`? That is, if we know that `commandElements.get(2)` 
is the max, then use that as the second argument in the constructor rather than 
the first, using the `isRev()` method to switch the behaviour.




-- 
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]


Reply via email to