dramaticlly commented on code in PR #13631:
URL: https://github.com/apache/iceberg/pull/13631#discussion_r2224017866


##########
core/src/test/java/org/apache/iceberg/TestTransaction.java:
##########
@@ -653,7 +651,7 @@ public void 
testTransactionRewriteManifestsAppendedDirectly() throws IOException
   }
 
   @TestTemplate
-  public void testSimpleTransactionNotDeletingMetadataOnUnknownSate() throws 
IOException {
+  public void testSimpleTransactionNotDeletingMetadataOnUnknownSate() {

Review Comment:
   intellij suggested auto fix



##########
core/src/test/java/org/apache/iceberg/TestTransaction.java:
##########
@@ -463,10 +463,8 @@ public void 
testTransactionRetryAndAppendManifestsWithoutSnapshotIdInheritance()
     // create a manifest append
     OutputFile manifestLocation = Files.localOutput("/tmp/" + 
UUID.randomUUID() + ".avro");
     ManifestWriter<DataFile> writer = ManifestFiles.write(table.spec(), 
manifestLocation);
-    try {
+    try (writer) {

Review Comment:
   intellij suggested auto fix



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