cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject [1/2] cxf git commit: Don't need to grab the workqueue manager if we're not setting anything in there.
Date Mon, 23 Mar 2015 15:18:34 GMT
Repository: cxf
Updated Branches:
  refs/heads/master d5ea460f2 -> ed18c008f


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/eb56937d
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/eb56937d
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/eb56937d

Branch: refs/heads/master
Commit: eb56937d4feed5eb740c1a5f3bcc3ccddb784585
Parents: d5ea460
Author: Daniel Kulp <dkulp@apache.org>
Authored: Mon Mar 23 11:05:31 2015 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Mon Mar 23 11:05:31 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/eb56937d/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();


Mime
View raw message