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


##########
authorizations/authorization-ranger/src/main/java/org/apache/gravitino/authorization/ranger/RangerAuthorizationPlugin.java:
##########
@@ -992,12 +985,11 @@ private boolean checkSecurableObject(SecurableObject 
securableObject) {
     securableObject
         .privileges()
         .forEach(
-            privilege -> {
-              check(
-                  checkPrivilege(privilege.name()),
-                  "This privilege %s is not support in the Ranger hive 
authorization",
-                  privilege.name());
-            });
+            privilege ->
+                check(
+                    checkPrivilege(privilege.name()),
+                    "This privilege %s is not support in the Ranger hive 
authorization",

Review Comment:
   ```suggestion
                       "This privilege %s is not supported in the Ranger hive 
authorization",
   ```



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