cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject git commit: CXF-5845 HTTPTransportActivator does not clean up old configuration while updating
Date Fri, 04 Jul 2014 14:15:50 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 2f4bd49c0 -> fb690c029


CXF-5845 HTTPTransportActivator does not clean up old configuration while updating


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/fb690c02
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/fb690c02
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/fb690c02

Branch: refs/heads/master
Commit: fb690c0295dea5bab86ab4474c28c16bff27e855
Parents: 2f4bd49
Author: Lukasz Dywicki <luke@code-house.org>
Authored: Thu Jul 3 18:06:01 2014 +0200
Committer: Lukasz Dywicki <luke@code-house.org>
Committed: Thu Jul 3 18:06:01 2014 +0200

----------------------------------------------------------------------
 .../cxf/transport/http/osgi/ConfigAdminHttpConduitConfigurer.java  | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/fb690c02/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/ConfigAdminHttpConduitConfigurer.java
----------------------------------------------------------------------
diff --git a/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/ConfigAdminHttpConduitConfigurer.java
b/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/ConfigAdminHttpConduitConfigurer.java
index 6e482d5..f1d79b7 100644
--- a/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/ConfigAdminHttpConduitConfigurer.java
+++ b/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/ConfigAdminHttpConduitConfigurer.java
@@ -113,6 +113,8 @@ class ConfigAdminHttpConduitConfigurer implements ManagedServiceFactory,
HTTPCon
         if (pid == null) {
             return;
         }
+        deleted(pid);
+
         String url = (String)properties.get("url");
         String name = (String)properties.get("name");
         Matcher matcher = url == null ? null : Pattern.compile(url).matcher("");


Mime
View raw message