jerqi commented on code in PR #5674:
URL: https://github.com/apache/gravitino/pull/5674#discussion_r1858300605


##########
core/src/main/java/org/apache/gravitino/authorization/AuthorizationPrivilege.java:
##########
@@ -16,12 +16,10 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.gravitino.authorization.ranger;
+package org.apache.gravitino.authorization;
 
-import org.apache.gravitino.authorization.Privilege;
-
-/** RangerPrivilege interface is used to define the Ranger privileges. */
-public interface RangerPrivilege {
+/** AuthorizationPrivilege interface is used to define the underlying data 
source privileges. */
+public interface AuthorizationPrivilege {
   String getName();
 
   Privilege.Condition condition();

Review Comment:
   Why do need the method `equalsTo` instead of `Object::equals`?



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