tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fra...@apache.org
Subject svn commit: r529735 - /incubator/tuscany/java/sdo/impl/src/main/java/org/apache/tuscany/sdo/util/BasicSequence.java
Date Tue, 17 Apr 2007 19:51:12 GMT
Author: frankb
Date: Tue Apr 17 12:51:11 2007
New Revision: 529735

URL: http://svn.apache.org/viewvc?view=rev&rev=529735
Log:
Fix for TUSCANY-1216

Modified:
    incubator/tuscany/java/sdo/impl/src/main/java/org/apache/tuscany/sdo/util/BasicSequence.java

Modified: incubator/tuscany/java/sdo/impl/src/main/java/org/apache/tuscany/sdo/util/BasicSequence.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/impl/src/main/java/org/apache/tuscany/sdo/util/BasicSequence.java?view=diff&rev=529735&r1=529734&r2=529735
==============================================================================
--- incubator/tuscany/java/sdo/impl/src/main/java/org/apache/tuscany/sdo/util/BasicSequence.java
(original)
+++ incubator/tuscany/java/sdo/impl/src/main/java/org/apache/tuscany/sdo/util/BasicSequence.java
Tue Apr 17 12:51:11 2007
@@ -24,6 +24,7 @@
 import org.eclipse.emf.ecore.util.FeatureMapUtil;
 import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
 
+import commonj.sdo.DataObject;
 import commonj.sdo.Property;
 import commonj.sdo.Sequence;
 import commonj.sdo.Type;
@@ -99,7 +100,7 @@
 
   protected EStructuralFeature getEStructuralFeature(int propertyIndex)
   {
-    return featureMap.getEObject().eClass().getEStructuralFeature(propertyIndex);
+    return (EStructuralFeature)DataObjectUtil.getProperty((DataObject)featureMap.getEObject(),
propertyIndex);
   }
 
   public boolean add(String propertyName, Object value)



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message