You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2015/04/13 21:29:31 UTC

[2/8] cxf git commit: Don't need to grab the workqueue manager if we're not setting anything in there.

Don't need to grab the workqueue manager if we're not setting anything in there.


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

Branch: refs/heads/3.0.x-fixes
Commit: 864161a16c634a22fbec77dfe9d68b47fcf2535f
Parents: c26f841
Author: Daniel Kulp <dk...@apache.org>
Authored: Mon Mar 23 11:05:31 2015 -0400
Committer: Daniel Kulp <dk...@apache.org>
Committed: Mon Apr 13 15:28:11 2015 -0400

----------------------------------------------------------------------
 core/src/main/java/org/apache/cxf/bus/osgi/OSGIBusListener.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/864161a1/core/src/main/java/org/apache/cxf/bus/osgi/OSGIBusListener.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/bus/osgi/OSGIBusListener.java b/core/src/main/java/org/apache/cxf/bus/osgi/OSGIBusListener.java
index 42ae100..ed4d284 100644
--- a/core/src/main/java/org/apache/cxf/bus/osgi/OSGIBusListener.java
+++ b/core/src/main/java/org/apache/cxf/bus/osgi/OSGIBusListener.java
@@ -92,9 +92,9 @@ public class OSGIBusListener implements BusLifeCycleListener {
     }
     
     public void initComplete() {
-        WorkQueueManager manager = bus.getExtension(WorkQueueManager.class);
         ManagedWorkQueueList wqList = bus.getExtension(ManagedWorkQueueList.class);
         if (wqList != null) {
+            WorkQueueManager manager = bus.getExtension(WorkQueueManager.class);
             wqList.addAllToWorkQueueManager(manager);
         }
         registerBusAsService();