You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/05/20 05:55:48 UTC
[tomcat] 01/04: Remove unused code
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit d1ac5ece13f3bfe29ec8a2ea5dc8c5e8af0b08e8
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri May 20 06:47:57 2022 +0100
Remove unused code
---
test/org/apache/tomcat/util/net/jsse/TestPEMFile.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/test/org/apache/tomcat/util/net/jsse/TestPEMFile.java b/test/org/apache/tomcat/util/net/jsse/TestPEMFile.java
index bfce46067b..7adba1d6ab 100644
--- a/test/org/apache/tomcat/util/net/jsse/TestPEMFile.java
+++ b/test/org/apache/tomcat/util/net/jsse/TestPEMFile.java
@@ -18,7 +18,6 @@ package org.apache.tomcat.util.net.jsse;
import java.io.File;
import java.io.IOException;
-import java.net.URISyntaxException;
import java.security.PrivateKey;
import org.junit.Assert;
@@ -77,7 +76,7 @@ public class TestPEMFile {
}
- private String getPath(String file) throws URISyntaxException, IOException {
+ private String getPath(String file) throws IOException {
String packageName = this.getClass().getPackage().getName();
String path = packageName.replace(".", File.separator);
File f = new File("test" + File.separator + path + File.separator + file);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org