This is an automated email from the ASF dual-hosted git repository.

reta pushed a commit to branch 4.0.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/4.0.x-fixes by this push:
     new 0e7218e8ef Fix PMD violations
0e7218e8ef is described below

commit 0e7218e8ef60ee125b6d081f1540f9e5820c1e63
Author: Andriy Redko <[email protected]>
AuthorDate: Sat Jun 14 09:00:22 2025 -0400

    Fix PMD violations
---
 .../java/org/apache/cxf/systest/http/HTTPConduitIoExceptionsTest.java   | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/systests/transports/src/test/java/org/apache/cxf/systest/http/HTTPConduitIoExceptionsTest.java
 
b/systests/transports/src/test/java/org/apache/cxf/systest/http/HTTPConduitIoExceptionsTest.java
index 6cc0f3681b..d045de785e 100644
--- 
a/systests/transports/src/test/java/org/apache/cxf/systest/http/HTTPConduitIoExceptionsTest.java
+++ 
b/systests/transports/src/test/java/org/apache/cxf/systest/http/HTTPConduitIoExceptionsTest.java
@@ -82,6 +82,7 @@ public class HTTPConduitIoExceptionsTest extends 
AbstractBusClientServerTestBase
 
         exception.expect(WebServiceException.class);
         exception.expectCause(new TypeSafeMatcher<Throwable>() {
+            @SuppressWarnings("PMD.FinalFieldCouldBeStatic")
             private final String message = "HTTP response '503: Service 
Unavailable' when "
                 + "communicating with http://localhost:"; + BadServer.PORT + 
"/Mortimer";
 
@@ -109,6 +110,7 @@ public class HTTPConduitIoExceptionsTest extends 
AbstractBusClientServerTestBase
 
         exception.expect(WebServiceException.class);
         exception.expectCause(new TypeSafeMatcher<Throwable>() {
+            @SuppressWarnings("PMD.FinalFieldCouldBeStatic")
             private final String message = "HTTP response '404: Not Found' 
when "
                 + "communicating with http://localhost:"; + BadServer.PORT + 
"/Mortimer";
 

Reply via email to