You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2022/08/14 18:26:01 UTC

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

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 adfe67ca30 Fixed checkstyle violations
adfe67ca30 is described below

commit adfe67ca302ba3c4ddf40a734493cf75d3439b9b
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Sun Aug 14 14:25:51 2022 -0400

    Fixed checkstyle violations
---
 .../jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java
index cf7dc8211a..91a4de2d04 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java
@@ -233,8 +233,8 @@ public final class JAXRSUtils {
             return Optional.ofNullable(cls);
         }
 
-        boolean isAssignableFrom(Class<?> cls) {
-            return load().map(c -> c.isAssignableFrom(cls)).orElse(false);
+        boolean isAssignableFrom(Class<?> another) {
+            return load().map(c -> c.isAssignableFrom(another)).orElse(false);
         }
     }