This is an automated email from the ASF dual-hosted git repository.

markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-jakartaee-migration.git


The following commit(s) were added to refs/heads/main by this push:
     new 20ed9a7  Fix one more IDE warning
20ed9a7 is described below

commit 20ed9a7c37af17e0a0368e833dbc5e7c3eed0698
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Sep 7 16:52:56 2026 +0100

    Fix one more IDE warning
---
 src/test/java/org/apache/tomcat/jakartaee/MigrationTest.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/tomcat/jakartaee/MigrationTest.java 
b/src/test/java/org/apache/tomcat/jakartaee/MigrationTest.java
index c275d39..6eb57ab 100644
--- a/src/test/java/org/apache/tomcat/jakartaee/MigrationTest.java
+++ b/src/test/java/org/apache/tomcat/jakartaee/MigrationTest.java
@@ -502,8 +502,7 @@ public class MigrationTest {
 
         try (org.apache.commons.compress.archivers.zip.ZipFile jar =
                 
org.apache.commons.compress.archivers.zip.ZipFile.builder().setFile(jarFileTarget).get())
 {
-            org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry =
-                    
(org.apache.commons.compress.archivers.zip.ZipArchiveEntry) 
jar.getEntry("test.txt");
+            org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry = 
jar.getEntry("test.txt");
             assertNotNull("Entry should exist in migrated JAR", entry);
             assertNull("ZIP64 extra field should have been removed",
                     entry.getExtraField(new 
org.apache.commons.compress.archivers.zip.ZipShort(1)));


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

Reply via email to