This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch 3.6.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/3.6.x-fixes by this push:
new 1279d3d05b Fixed PMD violation for cxf-systests-rs-sse-tomcat
1279d3d05b is described below
commit 1279d3d05b2533365b8e98b0bf211f1424e3f712
Author: Andriy Redko <[email protected]>
AuthorDate: Tue May 2 08:24:44 2023 -0400
Fixed PMD violation for cxf-systests-rs-sse-tomcat
---
.../org/apache/cxf/systest/jaxrs/sse/tomcat/AbstractTomcatServer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/systests/rs-sse/rs-sse-tomcat/src/test/java/org/apache/cxf/systest/jaxrs/sse/tomcat/AbstractTomcatServer.java
b/systests/rs-sse/rs-sse-tomcat/src/test/java/org/apache/cxf/systest/jaxrs/sse/tomcat/AbstractTomcatServer.java
index d466e61a2f..b7a36942dc 100644
---
a/systests/rs-sse/rs-sse-tomcat/src/test/java/org/apache/cxf/systest/jaxrs/sse/tomcat/AbstractTomcatServer.java
+++
b/systests/rs-sse/rs-sse-tomcat/src/test/java/org/apache/cxf/systest/jaxrs/sse/tomcat/AbstractTomcatServer.java
@@ -76,7 +76,7 @@ public abstract class AbstractTomcatServer extends
AbstractBusTestServerBase {
server.getHost().setAppBase(base.toString());
server.getHost().setAutoDeploy(true);
server.getHost().setDeployOnStartup(true);
- server.addWebapp(contextPath,
getClass().getResource(resourcePath).toURI().getPath().toString());
+ server.addWebapp(contextPath,
getClass().getResource(resourcePath).toURI().getPath());
}
server.start();