tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramku...@apache.org
Subject svn commit: r812392 - /tuscany/branches/sca-java-1.5.1/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java
Date Tue, 08 Sep 2009 08:42:56 GMT
Author: ramkumar
Date: Tue Sep  8 08:42:56 2009
New Revision: 812392

URL: http://svn.apache.org/viewvc?rev=812392&view=rev
Log:
Fixes for TUSCANY-3237: Remove auto indexing logic for constructors

Modified:
    tuscany/branches/sca-java-1.5.1/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java

Modified: tuscany/branches/sca-java-1.5.1/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java
URL: http://svn.apache.org/viewvc/tuscany/branches/sca-java-1.5.1/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java?rev=812392&r1=812391&r2=812392&view=diff
==============================================================================
--- tuscany/branches/sca-java-1.5.1/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java
(original)
+++ tuscany/branches/sca-java-1.5.1/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java
Tue Sep  8 08:42:56 2009
@@ -51,7 +51,6 @@
 import org.apache.tuscany.sca.assembly.Property;
 import org.apache.tuscany.sca.assembly.Reference;
 import org.apache.tuscany.sca.assembly.Service;
-import org.apache.tuscany.sca.assembly.impl.ServiceImpl;
 import org.apache.tuscany.sca.contribution.Artifact;
 import org.apache.tuscany.sca.contribution.ContributionFactory;
 import org.apache.tuscany.sca.contribution.ModelFactoryExtensionPoint;
@@ -574,8 +573,7 @@
                     		// Create a component type reference/property if the constructor-arg
element has a
                             // type attribute OR index attribute declared...
                     		if ((conArgElement.getType() != null && paramType.equals(conArgElement.getType()))
||
-                    		    (conArgElement.getIndex() != -1 && (conArgElement.getIndex()
== parameter.getIndex())) ||
-                    		    (conArgElement.getAutoIndex() == parameter.getIndex()))
+                    		    (conArgElement.getIndex() != -1 && (conArgElement.getIndex()
== parameter.getIndex())))
                     		{
                     			if (parameter.getClassifer().getName().equals("org.osoa.sca.annotations.Reference"))
{
                     				Reference theReference = createReference(interfaze, conArgElement.getRef());



Mime
View raw message