Joscorbe commented on a change in pull request #359:
URL: https://github.com/apache/jackrabbit-oak/pull/359#discussion_r711947759
##########
File path:
oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/UpdateOp.java
##########
@@ -557,6 +590,16 @@ public static Condition newNotEqualsCondition(@Nullable
Object value) {
return new Condition(Type.NOTEQUALS, value);
}
+ /**
+ * Creates a new lessThan condition with the given value.
+ *
+ * @param value the value to compare t
+ * @return the lessThan condition.
+ */
+ public static Condition newLessThanCondition(@Nullable Object value) {
Review comment:
I have removed all the logic related with "lessThan", as now I'm using
UpdateOp.max() as you proposed.
--
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]