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/10 18:44:37 UTC
[tomcat] branch main updated: This works on Linux and Windows
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.git
The following commit(s) were added to refs/heads/main by this push:
new 136f86744c This works on Linux and Windows
136f86744c is described below
commit 136f86744ce087d3418b6dd3aa8aecca73f277a7
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue May 10 19:44:22 2022 +0100
This works on Linux and Windows
---
test/org/apache/tomcat/util/net/jsse/TestPEMFile.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/org/apache/tomcat/util/net/jsse/TestPEMFile.java b/test/org/apache/tomcat/util/net/jsse/TestPEMFile.java
index 620d16947e..31afc954c6 100644
--- a/test/org/apache/tomcat/util/net/jsse/TestPEMFile.java
+++ b/test/org/apache/tomcat/util/net/jsse/TestPEMFile.java
@@ -79,7 +79,7 @@ public class TestPEMFile {
private String getPath(String file) throws URISyntaxException, IOException {
String packageName = this.getClass().getPackageName();
- String path = packageName.replaceAll("\\.", File.separator);
+ String path = packageName.replace(".", File.separator);
File f = new File("test" + File.separator + path + File.separator + file);
return f.getCanonicalPath();
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org