This is an automated email from the ASF dual-hosted git repository. dkulp pushed a commit to branch 3.1.x-fixes in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 0ef24317639d20e2efea7e4c6dcf89739aafffca Author: Reguel <reguel.wermelin...@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 318463d..61c6d11 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 dk...@apache.org.