servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r389812 - /incubator/servicemix/trunk/servicemix-gbean/src/main/java/org/apache/servicemix/gbean/ServiceMixConfigBuilder.java
Date Wed, 29 Mar 2006 15:27:29 GMT
Author: gnodet
Date: Wed Mar 29 07:27:23 2006
New Revision: 389812

URL: http://svn.apache.org/viewcvs?rev=389812&view=rev
Log:
Fix possible NPE

Modified:
    incubator/servicemix/trunk/servicemix-gbean/src/main/java/org/apache/servicemix/gbean/ServiceMixConfigBuilder.java

Modified: incubator/servicemix/trunk/servicemix-gbean/src/main/java/org/apache/servicemix/gbean/ServiceMixConfigBuilder.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-gbean/src/main/java/org/apache/servicemix/gbean/ServiceMixConfigBuilder.java?rev=389812&r1=389811&r2=389812&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-gbean/src/main/java/org/apache/servicemix/gbean/ServiceMixConfigBuilder.java
(original)
+++ incubator/servicemix/trunk/servicemix-gbean/src/main/java/org/apache/servicemix/gbean/ServiceMixConfigBuilder.java
Wed Mar 29 07:27:23 2006
@@ -156,7 +156,7 @@
         try {
             URI configId = getConfigurationID(plan, module);
             List parentId = new ArrayList();
-            if (parentId != null) {
+            if (defaultParentId != null) {
                 for (Iterator iter = defaultParentId.iterator(); iter.hasNext();) {
                     String element = (String) iter.next();
                     parentId.add(new URI(element));



Mime
View raw message