snazy commented on code in PR #122:
URL: https://github.com/apache/polaris/pull/122#discussion_r1728459825


##########
polaris-service/src/test/java/io/polaris/service/test/SnowmanCredentialsExtension.java:
##########
@@ -178,29 +178,29 @@ public void afterAll(ExtensionContext extensionContext) 
throws Exception {
             adminSecrets.getMainSecret(),
             realm);
 
-    try (Response deletePrResponse =

Review Comment:
   Correct. try-with-resources is "just" a shorthand for one or more 
auto-closeables.
   ```java
   AutoCloseable c1 = openSomething();
   try {
           AutoCloseable c2 = openSomething();
           try {
                   doSomethingWithC1andC2();
           } finally {
                   c2.close();
           }
   } finally {
           c1.close();
   }
   ```
   



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