CST-9634 make public the validateResourcePolicy method

This commit is contained in:
Andrea Bollini
2023-06-01 19:38:01 +02:00
parent b29409e08e
commit b78ddf2498

View File

@@ -195,7 +195,7 @@ public class AccessConditionOption {
* configured maximum. * configured maximum.
* @throws ParseException passed through. * @throws ParseException passed through.
*/ */
private void validateResourcePolicy(Context context, String name, Date startDate, Date endDate) public void validateResourcePolicy(Context context, String name, Date startDate, Date endDate)
throws IllegalStateException, ParseException { throws IllegalStateException, ParseException {
LOG.debug("Validate policy dates: name '{}', startDate {}, endDate {}", LOG.debug("Validate policy dates: name '{}', startDate {}, endDate {}",
name, startDate, endDate); name, startDate, endDate);