(cxf) branch 3.6.x-fixes updated: Fix checkstyle violations (post-merge)

2024-06-03 Thread reta
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 1a4c5067e2 Fix checkstyle violations (post-merge)
1a4c5067e2 is described below

commit 1a4c5067e22b83c6bd2989683b622916220f1afd
Author: Andriy Redko 
AuthorDate: Mon Jun 3 21:29:35 2024 -0400

Fix checkstyle violations (post-merge)
---
 .../org/apache/cxf/systest/http2/netty/jaxws/JAXWSAsyncClientTest.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/systests/transport-netty/src/test/java/org/apache/cxf/systest/http2/netty/jaxws/JAXWSAsyncClientTest.java
 
b/systests/transport-netty/src/test/java/org/apache/cxf/systest/http2/netty/jaxws/JAXWSAsyncClientTest.java
index ab141b4201..1ddc1deee0 100644
--- 
a/systests/transport-netty/src/test/java/org/apache/cxf/systest/http2/netty/jaxws/JAXWSAsyncClientTest.java
+++ 
b/systests/transport-netty/src/test/java/org/apache/cxf/systest/http2/netty/jaxws/JAXWSAsyncClientTest.java
@@ -27,6 +27,7 @@ import java.util.concurrent.ExecutorService;
 import java.util.concurrent.Executors;
 import java.util.concurrent.Future;
 import java.util.concurrent.TimeUnit;
+
 import javax.jws.WebService;
 import javax.xml.ws.Response;
 import javax.xml.ws.soap.SOAPFaultException;



[cxf] branch 3.6.x-fixes updated: Fix checkstyle violations

2023-08-01 Thread reta
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 ce5ad64a6e Fix checkstyle violations
ce5ad64a6e is described below

commit ce5ad64a6ed64ec991aba8a1cfc9ee8edf8aafd9
Author: Andriy Redko 
AuthorDate: Tue Aug 1 21:27:41 2023 -0400

Fix checkstyle violations
---
 ...ontrolledValidationXmlBeanDefinitionReader.java |  2 +-
 .../java/org/apache/cxf/staxutils/StaxUtils.java   |  2 +-
 .../cxf/validation/BeanValidationProvider.java |  2 +-
 .../security/SecureAnnotationsInterceptorTest.java |  6 +--
 .../security/SimpleAuthorizingInterceptorTest.java |  6 +--
 .../transform/OutTransformWriterTest.java  |  2 +-
 .../java/org/apache/cxf/cdi/AbstractCXFBean.java   |  4 +-
 .../apache/cxf/cdi/JAXRSCdiResourceExtension.java  |  2 +-
 .../cxf/maven_plugin/AbstractCodegenMojo.java  |  2 +-
 .../cxf/binding/corba/CorbaServerConduit.java  |  2 +-
 .../DefaultExceptionClassProviderTest.java |  2 +-
 .../org/apache/cxf/jaxrs/impl/MetadataMap.java |  2 +-
 .../org/apache/cxf/jaxrs/impl/RequestImpl.java |  2 +-
 .../cxf/jaxrs/provider/JAXRSDataBinding.java   |  4 +-
 .../apache/cxf/jaxrs/provider/ProviderFactory.java |  9 +++--
 .../org/apache/cxf/jaxrs/utils/JAXRSUtils.java |  2 +-
 .../cxf/jaxrs/JAXRSServerFactoryBeanTest.java  |  4 +-
 .../apache/cxf/jaxrs/ext/xml/XMLSourceTest.java|  6 +--
 .../impl/tl/ThreadLocalInvocationHandlerTest.java  |  2 +-
 .../cxf/jaxrs/provider/BinaryDataProviderTest.java |  2 +-
 .../jaxrs/provider/FormEncodingProviderTest.java   |  2 +-
 .../ProviderFactoryExceptionMapperTest.java|  8 ++--
 .../cxf/jaxrs/provider/ProviderFactoryTest.java| 46 +++---
 .../org/apache/cxf/jaxrs/utils/JAXRSUtilsTest.java |  4 +-
 .../apache/cxf/jaxrs/utils/ResourceUtilsTest.java  |  4 +-
 .../java/org/apache/cxf/jaxws/ServiceImplTest.java |  2 +-
 .../handler/soap/SOAPHandlerInterceptorTest.java   |  2 +-
 .../WebFaultOutInterceptorTestCase.java|  2 +-
 .../java/org/apache/cxf/js/rhino/ServerApp.java|  4 +-
 .../frontend/AbstractWSDLBasedEndpointFactory.java |  2 +-
 .../apache/cxf/jaxrs/client/AbstractClient.java|  2 +-
 .../org/apache/cxf/jaxrs/client/WebClient.java |  2 +-
 .../jaxrs/client/JAXRSClientFactoryBeanTest.java   |  2 +-
 .../org/apache/cxf/jaxrs/client/WebClientTest.java |  6 +--
 .../cxf/jaxrs/client/spec/ClientImplTest.java  |  2 +-
 .../apache/cxf/jaxrs/swagger/Swagger2Feature.java  |  2 +-
 .../apache/cxf/jaxrs/model/wadl/WadlGenerator.java |  6 +--
 .../model/wadl/ServerProviderFactoryTest.java  |  2 +-
 .../json/basic/JsonMapObjectReaderWriter.java  |  2 +-
 .../jaxrs/provider/jsrjsonb/JsrJsonbProvider.java  |  2 +-
 .../server/StreamingAsyncSubscriber.java   |  2 +-
 .../ext/search/DefaultParamConverterProvider.java  | 10 ++---
 .../ext/search/tika/TikaContentExtractor.java  |  2 +-
 .../search/SearchContextImplCustomParserTest.java  |  2 +-
 .../client/MicroProfileClientProviderFactory.java  |  2 +-
 .../org/apache/cxf/microprofile/client/Utils.java  |  2 +-
 .../jose/jws/NoneJwsSignatureProvider.java |  2 +-
 .../jose/jws/NoneJwsSignatureVerifier.java |  2 +-
 .../http_jetty/JettyHTTPServerEngineFactory.java   |  2 +-
 .../netty/client/integration/NettyClientTest.java  |  2 +-
 .../client/integration/SSLNettyClientTest.java |  2 +-
 .../server/NettyHttpServletPipelineFactory.java|  2 +-
 .../UndertowHTTPServerEngineFactory.java   |  2 +-
 .../jms/util/PollingMessageListenerContainer.java  |  4 +-
 .../AtmosphereWebSocketJettyDestination.java   |  2 +-
 .../AtmosphereWebSocketServletDestination.java |  2 +-
 .../AtmosphereWebSocketUndertowDestination.java|  2 +-
 .../jetty/WebSocketVirtualServletResponse.java |  2 +-
 .../jetty10/Jetty10WebSocketDestination.java   |  2 +-
 .../undertow/WebSocketUndertowServletResponse.java |  2 +-
 .../AtmosphereWebSocketJettyDestinationTest.java   |  4 +-
 .../AtmosphereWebSocketServletDestinationTest.java |  4 +-
 .../cxf/ws/addressing/impl/MAPAggregatorTest.java  |  8 ++--
 .../org/apache/cxf/ws/rm/ManagedRMManagerTest.java |  2 +-
 ...ractUsernameTokenAuthenticatingInterceptor.java |  2 +-
 .../wss4j/PluggablePolicyValidatorTest.java|  2 +-
 .../cxf/ws/security/wss4j/StaxRoundTripTest.java   |  2 +-
 .../ws/security/wss4j/WSS4JOutInterceptorTest.java |  2 +-
 .../cxf/sts/token/renewer/SAMLTokenRenewer.java|  2 +-
 .../operation/ValidateJWTTransformationTest.java   |  2 +-
 .../validator/JWTTokenValidatorRealmTest.java  |  2 +-
 .../apache/cxf/systest/sts/jwt/JaxrsJWTTest.java   |  2 +-
 .../apache/cxf/systest/jaxrs/AsyncResource.java|  2 +-
 .../cxf/systest/jaxrs/BookContinuationStore.java   |  4 +-
 .../org/apache/cxf/systest/jaxrs/BookServer.java   |

[cxf] branch 3.6.x-fixes updated: Fix checkstyle violations

2023-07-29 Thread reta
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 00b6fe804d Fix checkstyle violations
00b6fe804d is described below

commit 00b6fe804da2cdff8a1641e9aa20c6cab713fef6
Author: Andriy Redko 
AuthorDate: Sat Jul 29 15:27:59 2023 -0400

Fix checkstyle violations
---
 .../cxf/transport/http/netty/server/NettyHttpDestinationTest.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/rt/transports/http-netty/netty-server/src/test/java/org/apache/cxf/transport/http/netty/server/NettyHttpDestinationTest.java
 
b/rt/transports/http-netty/netty-server/src/test/java/org/apache/cxf/transport/http/netty/server/NettyHttpDestinationTest.java
index 09c79a7487..67349082ba 100644
--- 
a/rt/transports/http-netty/netty-server/src/test/java/org/apache/cxf/transport/http/netty/server/NettyHttpDestinationTest.java
+++ 
b/rt/transports/http-netty/netty-server/src/test/java/org/apache/cxf/transport/http/netty/server/NettyHttpDestinationTest.java
@@ -668,7 +668,8 @@ public class NettyHttpDestinationTest {
 
 
when(request.getHeaderNames()).thenReturn(Utils.enumeration(headerNames));
 
when(request.getHeaders("content-type")).thenReturn(Utils.enumeration(contentType));
-
when(request.getHeaders(NettyHttpDestinationTest.AUTH_HEADER)).thenReturn(Utils.enumeration(authHeader));
+when(request.getHeaders(NettyHttpDestinationTest.AUTH_HEADER))
+.thenReturn(Utils.enumeration(authHeader));
 
 when(request.getInputStream()).thenReturn(is);
 



[cxf] branch 3.6.x-fixes updated: Fix checkstyle

2023-05-26 Thread dkulp
This is an automated email from the ASF dual-hosted git repository.

dkulp 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 9ebf3d40ac Fix checkstyle
9ebf3d40ac is described below

commit 9ebf3d40ac6db1dc51aa49fd9e3a5c3129b252c9
Author: Daniel Kulp 
AuthorDate: Fri May 26 11:58:15 2023 -0400

Fix checkstyle
---
 .../test/java/org/apache/cxf/systest/jaxws/JaxwsAsyncFailOverTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/JaxwsAsyncFailOverTest.java
 
b/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/JaxwsAsyncFailOverTest.java
index ef91332e86..7abe0ed7ca 100644
--- 
a/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/JaxwsAsyncFailOverTest.java
+++ 
b/systests/jaxws/src/test/java/org/apache/cxf/systest/jaxws/JaxwsAsyncFailOverTest.java
@@ -38,8 +38,8 @@ import org.junit.AfterClass;
 import org.junit.BeforeClass;
 import org.junit.Test;
 
-import static org.junit.Assert.assertTrue;
 import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
 
 public class JaxwsAsyncFailOverTest  extends AbstractBusClientServerTestBase {
 static final String PORT = allocatePort(ServerNoBodyParts.class, 1);



[cxf] branch 3.6.x-fixes updated: Fix checkstyle violations

2023-03-30 Thread reta
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 07bb39ca0f Fix checkstyle violations
07bb39ca0f is described below

commit 07bb39ca0f5e3979a0a5cca220002c8469fe8d7a
Author: Andriy Redko 
AuthorDate: Thu Mar 30 23:06:27 2023 -0400

Fix checkstyle violations
---
 .../org/apache/cxf/systest/jaxrs/cdi/ServerFactoryDebugExtension.java| 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/systests/cdi/cdi-owb/cdi-producers-owb/src/test/java/org/apache/cxf/systest/jaxrs/cdi/ServerFactoryDebugExtension.java
 
b/systests/cdi/cdi-owb/cdi-producers-owb/src/test/java/org/apache/cxf/systest/jaxrs/cdi/ServerFactoryDebugExtension.java
index b521f36917..2497d701c9 100644
--- 
a/systests/cdi/cdi-owb/cdi-producers-owb/src/test/java/org/apache/cxf/systest/jaxrs/cdi/ServerFactoryDebugExtension.java
+++ 
b/systests/cdi/cdi-owb/cdi-producers-owb/src/test/java/org/apache/cxf/systest/jaxrs/cdi/ServerFactoryDebugExtension.java
@@ -20,6 +20,7 @@
 package org.apache.cxf.systest.jaxrs.cdi;
 
 import java.util.stream.Collectors;
+
 import javax.inject.Singleton;
 
 import org.apache.cxf.jaxrs.JAXRSServerFactoryBean;



[cxf] branch 3.6.x-fixes updated: Fix checkstyle violations

2023-02-08 Thread reta
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 aa74b1f2c5 Fix checkstyle violations
aa74b1f2c5 is described below

commit aa74b1f2c53b89b4bd7107cd7ec06588bae55b81
Author: Andriy Redko 
AuthorDate: Wed Feb 8 12:58:05 2023 -0500

Fix checkstyle violations
---
 core/src/main/java/org/apache/cxf/helpers/NSDecl.java   | 2 +-
 .../java/org/apache/cxf/systest/type_test/AbstractTypeTestClient2.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/src/main/java/org/apache/cxf/helpers/NSDecl.java 
b/core/src/main/java/org/apache/cxf/helpers/NSDecl.java
index ca3d34ee32..f64fdc4a26 100644
--- a/core/src/main/java/org/apache/cxf/helpers/NSDecl.java
+++ b/core/src/main/java/org/apache/cxf/helpers/NSDecl.java
@@ -31,7 +31,7 @@ public final class NSDecl {
 this.prefix = pfx.intern();
 }
 this.uri = ur.intern();
-this.hashCode = (toString()).hashCode();
+this.hashCode = toString().hashCode();
 }
 
 public String getPrefix() {
diff --git 
a/systests/uncategorized/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient2.java
 
b/systests/uncategorized/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient2.java
index a25dd9244e..70441089c2 100644
--- 
a/systests/uncategorized/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient2.java
+++ 
b/systests/uncategorized/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient2.java
@@ -163,7 +163,7 @@ public abstract class AbstractTypeTestClient2 extends 
AbstractTypeTestClient {
 return (Double.compare(x.getVarFloat(), y.getVarFloat()) == 0)
 && (x.getVarInt().compareTo(y.getVarInt()) == 0)
 && (x.getVarString().equals(y.getVarString()))
-&& (equalsNilable(x.getVarAttrString(), y.getVarAttrString()));
+&& equalsNilable(x.getVarAttrString(), y.getVarAttrString());
 }
 @Test
 public void testSimpleStruct() throws Exception {