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 639F718BE3 for ; Thu, 12 Nov 2015 13:50:44 +0000 (UTC) Received: (qmail 15270 invoked by uid 500); 12 Nov 2015 13:50:44 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 15196 invoked by uid 500); 12 Nov 2015 13:50:44 -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 15186 invoked by uid 99); 12 Nov 2015 13:50:44 -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; Thu, 12 Nov 2015 13:50:44 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 1F9ECE5E1B; Thu, 12 Nov 2015 13:50:44 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: coheigea@apache.org To: commits@cxf.apache.org Date: Thu, 12 Nov 2015 13:50:44 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/2] cxf git commit: [CXF-6673] - StaticService setEndpoints(List) doesn't work correctly Repository: cxf Updated Branches: refs/heads/3.0.x-fixes 6bbb9c1ac -> 0548b05c6 [CXF-6673] - StaticService setEndpoints(List) doesn't work correctly Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/40466b14 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/40466b14 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/40466b14 Branch: refs/heads/3.0.x-fixes Commit: 40466b1487ea771aec83848e6e858d3d6d6c9f7f Parents: 6bbb9c1 Author: Colm O hEigeartaigh Authored: Thu Nov 12 11:08:23 2015 +0000 Committer: Colm O hEigeartaigh Committed: Thu Nov 12 13:43:43 2015 +0000 ---------------------------------------------------------------------- .../src/main/java/org/apache/cxf/sts/service/StaticService.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/40466b14/services/sts/sts-core/src/main/java/org/apache/cxf/sts/service/StaticService.java ---------------------------------------------------------------------- diff --git a/services/sts/sts-core/src/main/java/org/apache/cxf/sts/service/StaticService.java b/services/sts/sts-core/src/main/java/org/apache/cxf/sts/service/StaticService.java index 8d309a4..ba98911 100644 --- a/services/sts/sts-core/src/main/java/org/apache/cxf/sts/service/StaticService.java +++ b/services/sts/sts-core/src/main/java/org/apache/cxf/sts/service/StaticService.java @@ -97,6 +97,7 @@ public class StaticService implements ServiceMBean { * Set the list of endpoint addresses that correspond to this service */ public void setEndpoints(List endpoints) { + endpointPatterns.clear(); if (endpoints != null) { for (String endpoint : endpoints) { try {