[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Tue Nov 14 23:11:02 UTC 2006


SVN commit 604999 by okellogg:

load(): Reduce verbosity on changing assocType.

 M  +2 -5      association.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/association.cpp #604998:604999
@@ -340,15 +340,12 @@
         // is not complete, so we need to finish the analysis here.
 
         // find self-associations
-        if(getAssocType() == Uml::at_Association && getObjectId(A) == getObjectId(B))
+        if (m_AssocType == Uml::at_Association && getObjectId(A) == getObjectId(B))
             m_AssocType = Uml::at_Association_Self;
 
         // fall-back default type
-        if(getAssocType() == Uml::at_Unknown)
-        {
+        if (m_AssocType == Uml::at_Unknown) {
             m_AssocType = Uml::at_Association;
-            kdDebug() << "load can't determine association type, setting to 'plain' association"
-            << endl;
         }
 
         return true;




More information about the umbrello-devel mailing list