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

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

    Fix PMD violations
    
    (cherry picked from commit 0e7218e8ef60ee125b6d081f1540f9e5820c1e63)
---
 .../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 da12052e73..0cab13cfda 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