[Uml-devel] branches/KDE/3.5/kdesdk/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Fri Feb 23 06:39:44 UTC 2007


SVN commit 636438 by okellogg:

writeOperation(): Evaluate UMLObject::m_bAbstract on generating abstractness.
BUG:142093


 M  +2 -0      ChangeLog  
 M  +3 -3      umbrello/codegenerators/adawriter.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #636437:636438
@@ -19,6 +19,8 @@
 * C++ code generator does not correctly define namespaces (141876)
 * Ada code generator generates "withs" in both directions for certain
   associations (141956)
+* Ada code generator always generates methods abstract even if abstract box
+  not checked (142093)
 
 Version 1.5.61
 
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/adawriter.cpp #636437:636438
@@ -516,9 +516,9 @@
         ada << ")";
     if (! use_procedure)
         ada << " return " << rettype;
-    ada << " is abstract;" << m_endl << m_endl;
-    // TBH, we make the methods abstract here because we don't have the means
-    // for generating meaningful implementations.
+    if (op->getAbstract())
+        ada << " is abstract";
+    ada << ";" << m_endl << m_endl;
 }
 
 QStringList AdaWriter::defaultDatatypes() {




More information about the umbrello-devel mailing list