adoroszlai commented on code in PR #8799: URL: https://github.com/apache/ozone/pull/8799#discussion_r2354373277
########## 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: Partly. `Objects` is JDK built-in, so we should prefer it to any third-party lib. In this case I made the change because these were the only usage of Guava in the new module. -- 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