This is an automated email from the ASF dual-hosted git repository.
remm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 2236738fb2 Remove useless override
2236738fb2 is described below
commit 2236738fb2597073329ea74c84631726f5a7f7b2
Author: remm <[email protected]>
AuthorDate: Wed Sep 20 17:20:16 2023 +0200
Remove useless override
---
java/org/apache/catalina/webresources/CachedResource.java | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/java/org/apache/catalina/webresources/CachedResource.java
b/java/org/apache/catalina/webresources/CachedResource.java
index 332f74f012..96dcf0c011 100644
--- a/java/org/apache/catalina/webresources/CachedResource.java
+++ b/java/org/apache/catalina/webresources/CachedResource.java
@@ -32,7 +32,6 @@ import java.security.cert.Certificate;
import java.text.Collator;
import java.util.Arrays;
import java.util.Locale;
-import java.util.jar.JarEntry;
import java.util.jar.JarFile;
import java.util.jar.Manifest;
@@ -622,13 +621,5 @@ public class CachedResource implements WebResource {
return ((JarURLConnection)
resourceURL.openConnection()).getJarFile();
}
- @Override
- public JarEntry getJarEntry() throws IOException {
- if (getEntryName() == null) {
- return null;
- } else {
- return super.getJarEntry();
- }
- }
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]