You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ro...@apache.org on 2006/08/08 14:33:20 UTC

svn commit: r429637 - /incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/TypeImpl.cpp

Author: robbinspg
Date: Tue Aug  8 05:33:20 2006
New Revision: 429637

URL: http://svn.apache.org/viewvc?rev=429637&view=rev
Log:
TUSCANY-604 inherit "isSequenced" from base type. Do not throw exception

Modified:
    incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/TypeImpl.cpp

Modified: incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/TypeImpl.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/TypeImpl.cpp?rev=429637&r1=429636&r2=429637&view=diff
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/TypeImpl.cpp (original)
+++ incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/TypeImpl.cpp Tue Aug  8 05:33:20 2006
@@ -250,6 +250,8 @@
             typeEnum = baseType->typeEnum;
         }
 
+        // Removing the following and allowing "sequenced" to be inherited from base type
+        /*
         if (isSequenced && !baseType->isSequenced)
         {
             // Its an error to be sequenced and inherit from a
@@ -262,10 +264,11 @@
             SDOUnsupportedOperationException, 
             msg.c_str());
         }
+        */
 
         isSequenced = baseType->isSequenced; 
-        // if the base is open then this type must be open too.
 
+        // if the base is open then this type must be open too.
         if (baseType->isOpenType())
         {
             isOpen = true;



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