This is an automated email from the ASF dual-hosted git repository.
coheigea 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 77cff14f38 PMD fix
77cff14f38 is described below
commit 77cff14f38257164027af24f0d460908239c31f0
Author: Colm O hEigeartaigh <[email protected]>
AuthorDate: Thu Nov 20 11:14:47 2025 +0000
PMD fix
---
.../java/org/apache/cxf/jaxrs/blueprint/BlueprintResourceFactory.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/blueprint/BlueprintResourceFactory.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/blueprint/BlueprintResourceFactory.java
index 621a9b9c88..75207841e2 100644
---
a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/blueprint/BlueprintResourceFactory.java
+++
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/blueprint/BlueprintResourceFactory.java
@@ -82,7 +82,7 @@ public class BlueprintResourceFactory implements
ResourceProvider {
: Collections.singletonMap(Application.class,
application.getProvider()));
Object[] values = ResourceUtils.createConstructorArguments(c, m,
!isSingleton(), mapValues);
//TODO Very springish...
- Object instance = values.length > 0 ?
blueprintContainer.getComponentInstance(beanId)
+ Object instance = values.length > 0 ?
blueprintContainer.getComponentInstance(beanId) // NOPMD
: blueprintContainer.getComponentInstance(beanId);
if (!isSingleton() || m == null) {
InjectionUtils.invokeLifeCycleMethod(instance,
postConstructMethod);