mneethiraj commented on code in PR #442:
URL: https://github.com/apache/ranger/pull/442#discussion_r1881217560
##########
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:
The ordering is correct per the rules specified in
RangerCodeScheme-IntelliJ.xml - package private methods will be after public
methods.
--
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]