This is an automated email from the ASF dual-hosted git repository.
markt 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 b9f2916 #49 support ear file type as archive file
b9f2916 is described below
commit b9f29163713cd0518c4c10bfe6c912755d4f648b
Author: Sammy Chu <[email protected]>
AuthorDate: Fri Nov 17 17:05:24 2023 +0800
#49 support ear file type as archive file
---
src/main/java/org/apache/tomcat/jakartaee/Migration.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/tomcat/jakartaee/Migration.java
b/src/main/java/org/apache/tomcat/jakartaee/Migration.java
index ba76abe..9cb8b1d 100644
--- a/src/main/java/org/apache/tomcat/jakartaee/Migration.java
+++ b/src/main/java/org/apache/tomcat/jakartaee/Migration.java
@@ -413,7 +413,7 @@ public class Migration {
}
private boolean isArchive(String fileName) {
- return fileName.endsWith(".jar") || fileName.endsWith(".war") ||
fileName.endsWith(".zip");
+ return fileName.endsWith(".jar") || fileName.endsWith(".war") ||
fileName.endsWith(".ear") || fileName.endsWith(".zip");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]