You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ke...@apache.org on 2006/11/27 16:47:53 UTC

svn commit: r479668 - in /incubator/tuscany/java/sdo/tools/src/test/java/org/example/simple/cs/impl: CSFactoryImpl.java QuoteBaseImpl.java

Author: kelvingoodson
Date: Mon Nov 27 07:47:52 2006
New Revision: 479668

URL: http://svn.apache.org/viewvc?view=rev&rev=479668
Log:
TUSCANY-153 -- generated code (which is not yet in use pending updates to the generated sdo model code) has been modified to remove errors -- must be regenerated after generated sdo model updates 

Modified:
    incubator/tuscany/java/sdo/tools/src/test/java/org/example/simple/cs/impl/CSFactoryImpl.java
    incubator/tuscany/java/sdo/tools/src/test/java/org/example/simple/cs/impl/QuoteBaseImpl.java

Modified: incubator/tuscany/java/sdo/tools/src/test/java/org/example/simple/cs/impl/CSFactoryImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/tools/src/test/java/org/example/simple/cs/impl/CSFactoryImpl.java?view=diff&rev=479668&r1=479667&r2=479668
==============================================================================
--- incubator/tuscany/java/sdo/tools/src/test/java/org/example/simple/cs/impl/CSFactoryImpl.java (original)
+++ incubator/tuscany/java/sdo/tools/src/test/java/org/example/simple/cs/impl/CSFactoryImpl.java Mon Nov 27 07:47:52 2006
@@ -214,7 +214,8 @@
     
   protected void createXSDMetaData(ModelFactoryImpl theModelPackageImpl)
   {
-    super.createXSDMetaData();
+//  TODO T-153 regenerate this code when issue with isProxy is fixed createXSDMetaData()
+//    super.createXSDMetaData();
     
     Property property = null;
     

Modified: incubator/tuscany/java/sdo/tools/src/test/java/org/example/simple/cs/impl/QuoteBaseImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sdo/tools/src/test/java/org/example/simple/cs/impl/QuoteBaseImpl.java?view=diff&rev=479668&r1=479667&r2=479668
==============================================================================
--- incubator/tuscany/java/sdo/tools/src/test/java/org/example/simple/cs/impl/QuoteBaseImpl.java (original)
+++ incubator/tuscany/java/sdo/tools/src/test/java/org/example/simple/cs/impl/QuoteBaseImpl.java Mon Nov 27 07:47:52 2006
@@ -169,16 +169,17 @@
    */
   public ChangeSummaryType getChanges()
   {
-    if (changes != null && ((EObject)changes).isProxy())
-    {
-      InternalEObject oldChanges = (InternalEObject)changes;
-      changes = (ChangeSummaryType)eResolveProxy(oldChanges);
-      if (changes != oldChanges)
-      {
-        if (isNotifying())
-          notify(ChangeKind.RESOLVE, CHANGES, oldChanges, changes);
-      }
-    }
+// TODO T-153 regenerate this code when issue with isProxy is fixed
+//    if (changes != null && ((EObject)changes).isProxy())
+//    {
+//      InternalEObject oldChanges = (InternalEObject)changes;
+//      changes = (ChangeSummaryType)eResolveProxy(oldChanges);
+//      if (changes != oldChanges)
+//      {
+//        if (isNotifying())
+//          notify(ChangeKind.RESOLVE, CHANGES, oldChanges, changes);
+//      }
+//    }
     return changes;
   }
   /**



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