mchades commented on code in PR #7361:
URL: https://github.com/apache/gravitino/pull/7361#discussion_r2192123549


##########
api/src/main/java/org/apache/gravitino/policy/Policy.java:
##########
@@ -112,20 +236,48 @@ public interface Policy extends Auditable {
    *
    * @throws IllegalPolicyException if the policy is not valid.
    */
-  void validate() throws IllegalPolicyException;
+  default void validate() throws IllegalPolicyException {

Review Comment:
   Currently, it's called by `PolicyEntity.valiate()`



-- 
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]

Reply via email to