You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2018/04/11 15:55:20 UTC
[cxf] branch master updated: [CXF-7704] False positive warning log
This is an automated email from the ASF dual-hosted git repository.
dkulp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/master by this push:
new b02f866 [CXF-7704] False positive warning log
b02f866 is described below
commit b02f866879053f88c0ea25d8920eea6f8795a5b7
Author: Reguel <re...@ivyteam.ch>
AuthorDate: Mon Apr 9 16:34:17 2018 +0200
[CXF-7704] False positive warning log
fix wrong log warning "Unable to recognize the addressing policy"
---
.../apache/cxf/ws/addressing/policy/AddressingAssertionBuilder.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/policy/AddressingAssertionBuilder.java b/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/policy/AddressingAssertionBuilder.java
index d0ce322..6cf867c 100644
--- a/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/policy/AddressingAssertionBuilder.java
+++ b/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/policy/AddressingAssertionBuilder.java
@@ -85,7 +85,8 @@ public class AddressingAssertionBuilder implements AssertionBuilder<Element> {
policy);
}
}.build(elem, factory);
- if (!(nap instanceof PolicyContainingPrimitiveAssertion || nap instanceof PrimitiveAssertion)) {
+ if (!(nap instanceof PolicyContainingPrimitiveAssertion
+ || nap instanceof org.apache.neethi.builders.PrimitiveAssertion)) {
// this happens when neethi fails to recognize the specified addressing policy element
LOG.warning("Unable to recognize the addressing policy");
}
--
To stop receiving notification emails like this one, please contact
dkulp@apache.org.