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

Jonathan Riddell jri at jriddell.org
Mon Jul 26 11:21:04 UTC 2004


CVS commit by jriddell: 

Fix beastie 85554
set accessor methods uses @return instead @param


  M +10 -10    cppheadercodeaccessormethod.cpp   1.7
  M +9 -9      cppsourcecodeaccessormethod.cpp   1.7


--- kdesdk/umbrello/umbrello/codegenerators/cppheadercodeaccessormethod.cpp  #1.6:1.7
@@ -125,5 +125,5 @@ void CPPHeaderCodeAccessorMethod::update
                         methodParams = fieldType+" value ";
                         methodReturnType = "void";
-                        headerText = "Set the value of "+fieldName+endLine+getParentObject()->getDoc()+endLine+"@return the value of "+fieldName;
+                        headerText = "Set the value of "+fieldName+endLine+getParentObject()->getDoc()+endLine+"@param value the value of "+fieldName;
                         break;
                 case CodeAccessorMethod::GET:

--- kdesdk/umbrello/umbrello/codegenerators/cppsourcecodeaccessormethod.cpp  #1.6:1.7
@@ -128,5 +128,5 @@ void CPPSourceCodeAccessorMethod::update
                         methodParams = fieldType+" value ";
                         methodReturnType = "void";
-                        headerText = "Set the value of "+fieldName+endLine+getParentObject()->getDoc()+endLine+"@return the value of "+fieldName;
+                        headerText = "Set the value of "+fieldName+endLine+getParentObject()->getDoc()+endLine+"@param value the value of "+fieldName;
                         break;
                 case CodeAccessorMethod::GET:






More information about the umbrello-devel mailing list