Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6B8BA18899 for ; Wed, 20 Jan 2016 09:35:37 +0000 (UTC) Received: (qmail 87901 invoked by uid 500); 20 Jan 2016 09:35:37 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 87833 invoked by uid 500); 20 Jan 2016 09:35:37 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 87823 invoked by uid 99); 20 Jan 2016 09:35:37 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jan 2016 09:35:37 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2843FDFF93; Wed, 20 Jan 2016 09:35:37 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ay@apache.org To: commits@cxf.apache.org Message-Id: <3e648aed53824c9797be4f127dc2c603@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: cxf git commit: remove unused code for handling wsa-2007/05 namespace Date: Wed, 20 Jan 2016 09:35:37 +0000 (UTC) Repository: cxf Updated Branches: refs/heads/3.1.x-fixes 737202fa0 -> fe82a0366 remove unused code for handling wsa-2007/05 namespace Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/fe82a036 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/fe82a036 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/fe82a036 Branch: refs/heads/3.1.x-fixes Commit: fe82a0366018080845bf4c07ccc87c56382173b0 Parents: 737202f Author: Akitoshi Yoshida Authored: Tue Jan 19 19:01:54 2016 +0100 Committer: Akitoshi Yoshida Committed: Tue Jan 19 19:07:15 2016 +0100 ---------------------------------------------------------------------- .../apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/fe82a036/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java ---------------------------------------------------------------------- diff --git a/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java b/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java index afa174e..7e166b2 100644 --- a/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java +++ b/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/impl/MAPAggregatorImpl.java @@ -301,12 +301,10 @@ public class MAPAggregatorImpl extends MAPAggregator { for (QName type : types) { assertAssertion(aim, type); + // ADDRESSING_ASSERTION is normalized, so check only the default namespace if (type.equals(MetadataConstants.ADDRESSING_ASSERTION_QNAME)) { assertAssertion(aim, MetadataConstants.ANON_RESPONSES_ASSERTION_QNAME); assertAssertion(aim, MetadataConstants.NON_ANON_RESPONSES_ASSERTION_QNAME); - } else if (type.equals(MetadataConstants.ADDRESSING_ASSERTION_QNAME_0705)) { - assertAssertion(aim, MetadataConstants.ANON_RESPONSES_ASSERTION_QNAME_0705); - assertAssertion(aim, MetadataConstants.NON_ANON_RESPONSES_ASSERTION_QNAME_0705); } } } @@ -340,18 +338,13 @@ public class MAPAggregatorImpl extends MAPAggregator { for (QName type : types) { assertAssertion(aim, type); + // ADDRESSING_ASSERTION is normalized, so check only the default namespace if (type.equals(MetadataConstants.ADDRESSING_ASSERTION_QNAME)) { if (onlyAnonymous) { assertAssertion(aim, MetadataConstants.ANON_RESPONSES_ASSERTION_QNAME); } else if (!hasAnonymous) { assertAssertion(aim, MetadataConstants.NON_ANON_RESPONSES_ASSERTION_QNAME); } - } else if (type.equals(MetadataConstants.ADDRESSING_ASSERTION_QNAME_0705)) { - if (onlyAnonymous) { - assertAssertion(aim, MetadataConstants.ANON_RESPONSES_ASSERTION_QNAME_0705); - } else if (!hasAnonymous) { - assertAssertion(aim, MetadataConstants.NON_ANON_RESPONSES_ASSERTION_QNAME_0705); - } } } if (!MessageUtils.isRequestor(message) && !MessageUtils.isOutbound(message)) {