adoroszlai commented on code in PR #913:
URL: https://github.com/apache/ranger/pull/913#discussion_r3065767712


##########
plugin-ozone/src/test/java/org/apache/ranger/authorization/ozone/authorizer/TestRangerOzoneAuthorizer.java:
##########
@@ -69,6 +69,14 @@ public class TestRangerOzoneAuthorizer {
     private final OzoneGrant grantList = new OzoneGrant(new 
HashSet<>(Arrays.asList(vol1, buck1)), 
Collections.singleton(IAccessAuthorizer.ACLType.LIST));
     private final OzoneGrant grantRead = new 
OzoneGrant(Collections.singleton(key1), 
Collections.singleton(IAccessAuthorizer.ACLType.READ));
 
+    private final RequestContext.Builder reqCtxBuilder = 
RequestContext.newBuilder()
+      .setHost(hostname)
+      .setIp(ipAddress)
+      .setClientUgi(user1)
+      .setServiceId(OZONE_SERVICE_ID)
+      .setAclType(IAccessAuthorizer.ACLIdentityType.ANONYMOUS)
+      .setOwnerName(OWNER_NAME);

Review Comment:
   Looks like checkstyle wants 8 spaces indent here
   
   ```suggestion
               .setHost(hostname)
               .setIp(ipAddress)
               .setClientUgi(user1)
               .setServiceId(OZONE_SERVICE_ID)
               .setAclType(IAccessAuthorizer.ACLIdentityType.ANONYMOUS)
               .setOwnerName(OWNER_NAME);
   ```



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