tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scottk...@apache.org
Subject svn commit: r1166802 - /tuscany/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/EndpointReferenceBuilderImpl.java
Date Thu, 08 Sep 2011 17:01:07 GMT
Author: scottkurz
Date: Thu Sep  8 17:01:07 2011
New Revision: 1166802

URL: http://svn.apache.org/viewvc?rev=1166802&view=rev
Log:
TUSCANY-3942.

Modified:
    tuscany/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/EndpointReferenceBuilderImpl.java

Modified: tuscany/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/EndpointReferenceBuilderImpl.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/EndpointReferenceBuilderImpl.java?rev=1166802&r1=1166801&r2=1166802&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/EndpointReferenceBuilderImpl.java
(original)
+++ tuscany/sca-java-2.x/trunk/modules/builder/src/main/java/org/apache/tuscany/sca/builder/impl/EndpointReferenceBuilderImpl.java
Thu Sep  8 17:01:07 2011
@@ -589,15 +589,10 @@ public class EndpointReferenceBuilderImp
      */
     private boolean bindingsIdentifyTargets(ComponentReference reference) {
         for (Binding binding : reference.getBindings()) {
-            // <binding.sca without a URI does not identify a target
-            if ((binding instanceof SCABinding) && (binding.getURI() == null))
-                continue;
-            // any other binding implies a target
-            // TODO Processing for other binding types
             return true;
-        } // end for
+        } 
         return false;
-    } // end bindingsIdentifyTargets
+    }
 
     /**
      * Helper method which obtains a list of targets for a reference
@@ -831,4 +826,4 @@ public class EndpointReferenceBuilderImp
         } 
     }  
 
-}
\ No newline at end of file
+}



Mime
View raw message