cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject svn commit: r1232050 - /cxf/branches/2.5.x-fixes/rt/core/src/main/java/org/apache/cxf/bus/osgi/WorkQueueSingleConfig.java
Date Mon, 16 Jan 2012 16:22:11 GMT
Author: cschneider
Date: Mon Jan 16 16:22:11 2012
New Revision: 1232050

URL: http://svn.apache.org/viewvc?rev=1232050&view=rev
Log:
CXF-3983 Fix for NPE

Modified:
    cxf/branches/2.5.x-fixes/rt/core/src/main/java/org/apache/cxf/bus/osgi/WorkQueueSingleConfig.java

Modified: cxf/branches/2.5.x-fixes/rt/core/src/main/java/org/apache/cxf/bus/osgi/WorkQueueSingleConfig.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.5.x-fixes/rt/core/src/main/java/org/apache/cxf/bus/osgi/WorkQueueSingleConfig.java?rev=1232050&r1=1232049&r2=1232050&view=diff
==============================================================================
--- cxf/branches/2.5.x-fixes/rt/core/src/main/java/org/apache/cxf/bus/osgi/WorkQueueSingleConfig.java
(original)
+++ cxf/branches/2.5.x-fixes/rt/core/src/main/java/org/apache/cxf/bus/osgi/WorkQueueSingleConfig.java
Mon Jan 16 16:22:11 2012
@@ -51,6 +51,9 @@ public class WorkQueueSingleConfig imple
 
     private void updateQueue(String name, Dictionary<String, String> properties) 
         throws ConfigurationException {
+        if (properties == null) {
+            return;
+        }
         Dictionary<String, String> queueProperties = new Hashtable<String, String>();
         Enumeration<?> it = properties.keys();
         while (it.hasMoreElements()) {



Mime
View raw message