servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pdo...@apache.org
Subject svn commit: r429777 - /incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/packaging/Consumes.java
Date Tue, 08 Aug 2006 19:08:31 GMT
Author: pdodds
Date: Tue Aug  8 12:08:30 2006
New Revision: 429777

URL: http://svn.apache.org/viewvc?rev=429777&view=rev
Log:
Fixed the validation in the consumes element for the service unit analyzer

Modified:
    incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/packaging/Consumes.java

Modified: incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/packaging/Consumes.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/packaging/Consumes.java?rev=429777&r1=429776&r2=429777&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/packaging/Consumes.java
(original)
+++ incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/packaging/Consumes.java
Tue Aug  8 12:08:30 2006
@@ -76,6 +76,6 @@
 	}
 
 	public boolean isValid() {
-		return (getInterfaceName() != null || getEndpointName() != null || getServiceName() !=
null);
+		return (getServiceName() != null || getInterfaceName() != null);
 	}
 }



Mime
View raw message