Commit 404aac23 authored by Ralf Habacker's avatar Ralf Habacker

API fix for commit 2e290f0a.

parent 2ce0c6d8
...@@ -251,9 +251,7 @@ UMLObject* JavaImport::resolveClass (const QString& className) ...@@ -251,9 +251,7 @@ UMLObject* JavaImport::resolveClass (const QString& className)
for (QStringList::Iterator it = split.begin(); it != split.end(); ++it) { for (QStringList::Iterator it = split.begin(); it != split.end(); ++it) {
QString name = (*it); QString name = (*it);
UMLObject *ns = Import_Utils::createUMLObject(UMLObject::ot_Package, UMLObject *ns = Import_Utils::createUMLObject(UMLObject::ot_Package,
name, parent, name, parent);
QString(), QString(),
true, true);
current = ns->asUMLPackage(); current = ns->asUMLPackage();
parent = current; parent = current;
} // for } // for
...@@ -265,9 +263,7 @@ UMLObject* JavaImport::resolveClass (const QString& className) ...@@ -265,9 +263,7 @@ UMLObject* JavaImport::resolveClass (const QString& className)
} }
// now that we have the right package, the class should be findable // now that we have the right package, the class should be findable
return Import_Utils::createUMLObject(UMLObject::ot_Class, return Import_Utils::createUMLObject(UMLObject::ot_Class,
baseClassName, current, baseClassName, current);
QString(), QString(),
true, true);
} // if file exists } // if file exists
} // if import matches } // if import matches
} //foreach import } //foreach import
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment