danielcweeks commented on code in PR #11577: URL: https://github.com/apache/iceberg/pull/11577#discussion_r2016960009
########## azure/src/main/java/org/apache/iceberg/azure/adlsv2/ADLSFileIO.java: ########## @@ -126,6 +131,8 @@ public void initialize(Map<String, String> props) { this.properties = SerializableMap.copyOf(props); this.azureProperties = new AzureProperties(properties); initMetrics(properties); + this.vendedAdlsCredentialProvider = + this.azureProperties.vendedAdlsCredentialProvider().orElse(null); Review Comment: ```suggestion this.azureProperties.vendedAdlsCredentialProvider() .ifPresent((provider -> this.vendedAdlsCredentialProvider = provider)); ``` Nit: using `orElse(null)` isn't really idiomatic of optionals. -- 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...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org