mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
CST-9634 make public the validateResourcePolicy method
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user