[Uml-devel] kdesdk/umbrello/umbrello/codegenerators

Brian Thomas thomas at mail630.gsfc.nasa.gov
Sat Apr 17 23:21:10 UTC 2004


CVS commit by thomas: 

fix buglet in Java & CPP class declarations : should have documentation stored in 'documentation' classes rather than in simple comment


  M +2 -2      cppheaderclassdeclarationblock.cpp   1.11
  M +2 -2      javaclassdeclarationblock.cpp   1.13


--- kdesdk/umbrello/umbrello/codegenerators/javaclassdeclarationblock.cpp  #1.12:1.13
@@ -14,5 +14,5 @@
  */
 #include "javaclassdeclarationblock.h"
-#include "javacodecomment.h"
+#include "javacodedocumentation.h"
 #include "../codegenerator.h"
 
@@ -157,5 +157,5 @@ void JavaClassDeclarationBlock::init (Ja
 {
 
-        setComment(new JavaCodeComment(parentDoc));
+        setComment(new JavaCodeDocumentation(parentDoc));
         getComment()->setText(comment);
 

--- kdesdk/umbrello/umbrello/codegenerators/cppheaderclassdeclarationblock.cpp  #1.10:1.11
@@ -17,5 +17,5 @@
 #include "cppcodegenerator.h"
 #include "cppcodegenerationpolicy.h"
-#include "cppcodecomment.h"
+#include "cppcodedocumentation.h"
 
 // Constructors/Destructors
@@ -149,5 +149,5 @@ void CPPHeaderClassDeclarationBlock::ini
 {
 
-        setComment(new CPPCodeComment(parentDoc));
+        setComment(new CPPCodeDocumentation(parentDoc));
         getComment()->setText(comment);
 






More information about the umbrello-devel mailing list