You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by pd...@apache.org on 2006/08/08 21:08:31 UTC

svn commit: r429777 - /incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/packaging/Consumes.java

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);
 	}
 }