cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject svn commit: r1232048 - /cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/WorkQueueSingleConfig.java
Date Mon, 16 Jan 2012 16:19:34 GMT
Author: cschneider
Date: Mon Jan 16 16:19:33 2012
New Revision: 1232048

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

Modified:
    cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/WorkQueueSingleConfig.java

Modified: cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/WorkQueueSingleConfig.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/WorkQueueSingleConfig.java?rev=1232048&r1=1232047&r2=1232048&view=diff
==============================================================================
--- cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/WorkQueueSingleConfig.java (original)
+++ cxf/trunk/rt/core/src/main/java/org/apache/cxf/bus/osgi/WorkQueueSingleConfig.java Mon
Jan 16 16:19:33 2012
@@ -41,6 +41,9 @@ public class WorkQueueSingleConfig imple
     }
 
     public void updated(@SuppressWarnings("rawtypes") Dictionary properties) throws ConfigurationException
{
+        if (properties == null) {
+            return;
+        }
         Dictionary<String, String> p = CastUtils.cast(properties);
         String names = (String)properties.get(PROPERTY_PREFIX + ".names");
         String[] nameAr = names.split(",");



Mime
View raw message