[Mobies-commit] [commit] r4384 - GReAT/trunk/Tools/MetaGME2UMX
ksmyth at redhat3.isis.vanderbilt.edu
ksmyth at redhat3.isis.vanderbilt.edu
Wed Dec 14 11:49:07 CST 2016
Author: ksmyth
Date: Wed Dec 14 11:49:07 2016
New Revision: 4384
Log:
Fix bug where MetaGME2UML may skip some set containment relationships when the set is on a sheet with a set that doesnt directly contain anything. Thanks to Robert Mansk for the bug report
Modified:
GReAT/trunk/Tools/MetaGME2UMX/MetaGME2UML_2.cpp
Modified: GReAT/trunk/Tools/MetaGME2UMX/MetaGME2UML_2.cpp
==============================================================================
--- GReAT/trunk/Tools/MetaGME2UMX/MetaGME2UML_2.cpp Wed Dec 14 11:48:14 2016 (r4383)
+++ GReAT/trunk/Tools/MetaGME2UMX/MetaGME2UML_2.cpp Wed Dec 14 11:49:07 2016 (r4384)
@@ -223,7 +223,11 @@
string error = "Error: Set:"+(string)contain.name()+ " in ParadigmSheet:" + (string)ps.name() + " Doesnt have any members defined";
throw udm_exception(error);
}*/
- if(setmembers.size() == 0) { return; } // if empty, simply return
+ if (setmembers.size() == 0)
+ {
+ // if empty, simply continue with next set
+ continue;
+ }
if(setmembers.size()==1)
{ MetaGME::SetMembership rt = *setmembers.begin();
MetaGME::BaseSet setb = rt.dstSets_end();
More information about the Mobies-commit
mailing list