Revision 1279959
Go back to digest for 19th February 2012Bug Fixes in Development Tools
Oliver Kellogg committed changes in /trunk/KDE/kdesdk/umbrello/umbrello/codeimport/import_utils.cpp:
(In reply to comment #12)
> [...]
> I see lots of marked-as-duplicates and backtraces but not one single Java
> code attachment to reproduce this with.
Okay, I looked at the marked-as-duplicates such as
https://bugs.kde.org/show_bug.cgi?id=245933#c2
and it seems we are talking about Java variable-length parameters (three
dots following the type name.) Here is the fix for that.
Import_Utils::createUMLObject(): If typeName.contains("...") then we are
dealing with a Java variable-length parameter. Handle this case specially:
- Set type to UMLObject::ot_Datatype
- Set parentPkg to umldoc->datatypeFolder()
- Set isAdorned false (to preserve ot_Datatype and prevent second creation)
File Changes
Modified 1 files
- /trunk/KDE/kdesdk/umbrello/umbrello/codeimport/import_utils.cpp
1 files changed in total