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 2021/05/04 23:50:40 UTC

[cxf] branch 3.4.x-fixes updated (735d409 -> c22f719)

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

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


    from 735d409  Recording .gitmergeinfo Changes
     new faf1488  CXF-8536 Conditional log for NamespaceMapper not found (#791)
     new c22f719  Fixing Checkstyle violations

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../main/java/org/apache/cxf/common/spi/NamespaceClassGenerator.java | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

[cxf] 02/02: Fixing Checkstyle violations

Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit c22f719231fe3e2bdb6080d6162e69e465d46558
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Tue May 4 19:18:31 2021 -0400

    Fixing Checkstyle violations
    
    (cherry picked from commit b1b946d7a927b6d174bbb15c64fe4634d093df93)
---
 .../main/java/org/apache/cxf/common/spi/NamespaceClassGenerator.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/cxf/common/spi/NamespaceClassGenerator.java b/core/src/main/java/org/apache/cxf/common/spi/NamespaceClassGenerator.java
index 0bb307b..836288b 100644
--- a/core/src/main/java/org/apache/cxf/common/spi/NamespaceClassGenerator.java
+++ b/core/src/main/java/org/apache/cxf/common/spi/NamespaceClassGenerator.java
@@ -76,7 +76,8 @@ public class NamespaceClassGenerator extends ClassGeneratorClassLoader implement
             }
         }
         if (cls == null) {
-            LOG.log(Level.INFO, "Could not create a NamespaceMapper compatible with Marshaller class " + mcls.getName(), t);
+            LOG.log(Level.INFO, "Could not create a NamespaceMapper compatible with Marshaller class " 
+                + mcls.getName(), t);
         }
         return cls;
     }

[cxf] 01/02: CXF-8536 Conditional log for NamespaceMapper not found (#791)

Posted by re...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit faf14889f5939ac30931cd077427803aa69de926
Author: Stefan Berger <be...@users.noreply.github.com>
AuthorDate: Wed May 5 00:57:05 2021 +0200

    CXF-8536 Conditional log for NamespaceMapper not found (#791)
    
    Only logs the message "Could not create a NamespaceMapper ..." if it really is the case
---
 .../main/java/org/apache/cxf/common/spi/NamespaceClassGenerator.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/cxf/common/spi/NamespaceClassGenerator.java b/core/src/main/java/org/apache/cxf/common/spi/NamespaceClassGenerator.java
index fbdc524..0bb307b 100644
--- a/core/src/main/java/org/apache/cxf/common/spi/NamespaceClassGenerator.java
+++ b/core/src/main/java/org/apache/cxf/common/spi/NamespaceClassGenerator.java
@@ -75,7 +75,9 @@ public class NamespaceClassGenerator extends ClassGeneratorClassLoader implement
                 t = ex2;
             }
         }
-        LOG.log(Level.INFO, "Could not create a NamespaceMapper compatible with Marshaller class " + mcls.getName(), t);
+        if (cls == null) {
+            LOG.log(Level.INFO, "Could not create a NamespaceMapper compatible with Marshaller class " + mcls.getName(), t);
+        }
         return cls;
     }