Repository: cxf Updated Branches: refs/heads/3.0.x-fixes 6bbb9c1ac -> 0548b05c6
[CXF-6673] - StaticService setEndpoints(List<String>) 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 <[email protected]> Authored: Thu Nov 12 11:08:23 2015 +0000 Committer: Colm O hEigeartaigh <[email protected]> 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<String> endpoints) { + endpointPatterns.clear(); if (endpoints != null) { for (String endpoint : endpoints) { try {
