smengcl commented on code in PR #8799: URL: https://github.com/apache/ozone/pull/8799#discussion_r2353747787
########## hadoop-ozone/multitenancy-ranger/src/main/java/org/apache/hadoop/ozone/om/multitenant/RangerClientMultiTenantAccessController.java: ########## @@ -81,9 +81,9 @@ public RangerClientMultiTenantAccessController(ConfigurationSource conf) // OMMultiTenantManager#checkAndEnableMultiTenancy at this point. String rangerHttpsAddress = conf.get(OZONE_RANGER_HTTPS_ADDRESS_KEY); - Preconditions.checkNotNull(rangerHttpsAddress); + Objects.requireNonNull(rangerHttpsAddress); Review Comment: Just curious, is this related to some recent(?) effort to reduce dependency on Guava? -- 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: issues-unsubscr...@ozone.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org