steveloughran commented on code in PR #8232:
URL: https://github.com/apache/hadoop/pull/8232#discussion_r2774800484


##########
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/auth/SignerFactory.java:
##########
@@ -124,7 +128,10 @@ public static Signer createSigner(String signerType, 
String configKey) throws IO
     Signer signer =
         S3AUtils.getInstanceFromReflection(className, null, null, 
Signer.class, "create",
             configKey);
-
+    requireNonNull(conf);
+    if (signer instanceof Configurable sc) {

Review Comment:
   fancy java17 feature here



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to