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 1341418D5C for ; Tue, 19 Jan 2016 18:04:06 +0000 (UTC) Received: (qmail 52942 invoked by uid 500); 19 Jan 2016 18:04:06 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 52883 invoked by uid 500); 19 Jan 2016 18:04:05 -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 52874 invoked by uid 99); 19 Jan 2016 18:04:05 -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; Tue, 19 Jan 2016 18:04:05 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 9B37CDFEFE; Tue, 19 Jan 2016 18:04:05 +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: <2156d4810eba455cb26330db73c4b7e0@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: cxf git commit: remove unused code for handling wsa-2007/05 namespace Date: Tue, 19 Jan 2016 18:04:05 +0000 (UTC) Repository: cxf Updated Branches: refs/heads/master 656662827 -> b0227b307 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/b0227b30 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/b0227b30 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/b0227b30 Branch: refs/heads/master Commit: b0227b307c453a750215c59438a896afaccb333b Parents: 6566628 Author: Akitoshi Yoshida Authored: Tue Jan 19 19:01:54 2016 +0100 Committer: Akitoshi Yoshida Committed: Tue Jan 19 19:03:56 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/b0227b30/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)) {