servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r642154 - /servicemix/smx3/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/AbstractXBeanDeployer.java
Date Fri, 28 Mar 2008 09:07:45 GMT
Author: gnodet
Date: Fri Mar 28 02:07:43 2008
New Revision: 642154

URL: http://svn.apache.org/viewvc?rev=642154&view=rev
Log:
Fix bad test

Modified:
    servicemix/smx3/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/AbstractXBeanDeployer.java

Modified: servicemix/smx3/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/AbstractXBeanDeployer.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/AbstractXBeanDeployer.java?rev=642154&r1=642153&r2=642154&view=diff
==============================================================================
--- servicemix/smx3/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/AbstractXBeanDeployer.java
(original)
+++ servicemix/smx3/trunk/common/servicemix-common/src/main/java/org/apache/servicemix/common/xbean/AbstractXBeanDeployer.java
Fri Mar 28 02:07:43 2008
@@ -94,7 +94,7 @@
 
             // Retrieve endpoints
             Collection<Endpoint> endpoints = getServices(applicationContext);
-            if (endpoints != null || endpoints.size() == 0) {
+            if (endpoints == null || endpoints.isEmpty()) {
                 throw failure("deploy", "No endpoints found", null);
             }
             for (Endpoint endpoint : endpoints) {



Mime
View raw message