kumaab commented on code in PR #442:
URL: https://github.com/apache/ranger/pull/442#discussion_r1881227161
##########
agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerValidityScheduleEvaluator.java:
##########
@@ -584,5 +529,43 @@ private ValueWithBorrow
getPastFieldValueWithBorrow(RangerValidityRecurrence.Rec
}
return ret;
}
+
+ private static class ValueWithBorrow {
+ int value;
+ boolean borrow;
+
+ ValueWithBorrow() {
+ }
+
+ ValueWithBorrow(int value) {
+ this(value, false);
+ }
+
+ ValueWithBorrow(int value, boolean borrow) {
+ this.value = value;
+ this.borrow = borrow;
+ }
+
+ @Override
+ public String toString() {
Review Comment:
right, missed that!
--
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]