cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [2/3] cxf git commit: [CXF-6673] - StaticService setEndpoints(List<String>) doesn't work correctly
Date Thu, 12 Nov 2015 12:14:39 GMT
[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/c0d54277
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/c0d54277
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/c0d54277

Branch: refs/heads/master
Commit: c0d5427734f71bf06e726a57933ec222be8acf36
Parents: 3c69d7d
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Thu Nov 12 11:08:23 2015 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Thu Nov 12 12:14:30 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/c0d54277/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 0180939..3d18550 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
@@ -104,6 +104,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 {


Mime
View raw message