File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
utils/SolutionDriver/src/main/java/atl/research Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1111
1212import Changes .ChangesPackage ;
1313import Changes .ModelChange ;
14+ import Changes .ModelChangeSet ;
1415import atl .research .class_ .Class_Package ;
1516import atl .research .relational_ .Relational_Package ;
1617
@@ -84,8 +85,11 @@ private Resource createModel(String modelPath) {
8485 protected void applyChange () {
8586 // we ignore change models that are empty (for checking correctness)
8687 if (changes .getContents ().size () > 0 ) {
87- ModelChange change = (ModelChange ) changes .getContents ().get (0 );
88- change .apply ();
88+ ModelChangeSet change = (ModelChangeSet ) changes .getContents ().get (0 );
89+ for (ModelChange c : change .getChanges ()) {
90+ // System.out.println("Applying change " + c);
91+ c .apply ();
92+ }
8993 }
9094 }
9195
You can’t perform that action at this time.
0 commit comments