[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators
Oliver Kellogg
okellogg at users.sourceforge.net
Wed Feb 21 18:19:09 UTC 2007
SVN commit 636032 by okellogg:
writeClassDecl(): Attachment 19771 from Antoine Dopffer adds "extends"
for a generic formal parameter that is not of type Object. Cool!
CCBUG:53374
M +4 -0 javawriter.cpp
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/javawriter.cpp #636031:636032
@@ -297,6 +297,10 @@
for (UMLTemplate *t = template_params.first(); t; ) {
QString formalName = t->getName();
java << formalName;
+ QString typeName = t->getTypeName();
+ if (typeName != "class") {
+ java << " extends " << typeName;
+ }
if ((t = template_params.next()) != NULL)
java << ", ";
}
More information about the umbrello-devel
mailing list