diff --git a/api/src/main/java/org/apache/gravitino/authorization/MetadataObjectChange.java b/api/src/main/java/org/apache/gravitino/authorization/MetadataObjectChange.java
index 302e0edab7..883508fe6e 100644
--- a/api/src/main/java/org/apache/gravitino/authorization/MetadataObjectChange.java
+++ b/api/src/main/java/org/apache/gravitino/authorization/MetadataObjectChange.java
@@ -72,7 +72,7 @@ private RenameMetadataObject(MetadataObject metadataObject, MetadataObject newMe
*
* @return return a metadataObject.
*/
- public MetadataObject getMetadataObject() {
+ public MetadataObject metadataObject() {
return this.metadataObject;
}
diff --git a/authorizations/authorization-ranger/src/main/java/org/apache/gravitino/authorization/ranger/RangerAuthorizationPlugin.java b/authorizations/authorization-ranger/src/main/java/org/apache/gravitino/authorization/ranger/RangerAuthorizationPlugin.java
index 18d10d1a46..9038577d76 100644
--- a/authorizations/authorization-ranger/src/main/java/org/apache/gravitino/authorization/ranger/RangerAuthorizationPlugin.java
+++ b/authorizations/authorization-ranger/src/main/java/org/apache/gravitino/authorization/ranger/RangerAuthorizationPlugin.java
@@ -699,9 +699,9 @@ private boolean doRemoveSecurableObject(
}
/**
- * IF remove the SCHEMA, Need to remove these the relevant policies, `{schema}`, `{schema}.*`,
+ * IF remove the SCHEMA, need to remove these the relevant policies, `{schema}`, `{schema}.*`,
* `{schema}.*.*`
- * IF remove the TABLE, Need to remove these the relevant policies, `{schema}.*`, `{schema}.*.*`
+ * IF remove the TABLE, need to remove these the relevant policies, `{schema}.*`, `{schema}.*.*`
*
* IF remove the COLUMN, Only need to remove `{schema}.*.*`
*/