[CXF-7026] o.a.c.transport.http.osgi.HttpServiceTrackerCust#removedService was 
not called


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

Branch: refs/heads/master-jaxrs-2.1
Commit: 09712af17f75e9d81d05718e8270cc3741e276db
Parents: ce9332b
Author: Grzegorz Grzybek <[email protected]>
Authored: Fri Aug 26 16:23:52 2016 +0200
Committer: Grzegorz Grzybek <[email protected]>
Committed: Fri Aug 26 16:23:52 2016 +0200

----------------------------------------------------------------------
 .../org/apache/cxf/transport/http/osgi/HttpServiceTrackerCust.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/09712af1/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/HttpServiceTrackerCust.java
----------------------------------------------------------------------
diff --git 
a/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/HttpServiceTrackerCust.java
 
b/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/HttpServiceTrackerCust.java
index b1d6f51..fbf9035 100644
--- 
a/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/HttpServiceTrackerCust.java
+++ 
b/rt/transports/http/src/main/java/org/apache/cxf/transport/http/osgi/HttpServiceTrackerCust.java
@@ -68,6 +68,6 @@ final class HttpServiceTrackerCust implements 
ServiceTrackerCustomizer {
         servProps.put(Constants.SERVICE_PID,  CXF_CONFIG_PID);
         servletPublisherReg = 
context.registerService(ManagedService.class.getName(),
                                                       servletExporter, 
servProps);
-        return null;
+        return httpService;
     }
 }
\ No newline at end of file

Reply via email to