Skip to content

Commit

Permalink
Fix compile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dziegel committed Aug 6, 2024
1 parent aacf04f commit 9d64009
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions generator/src/generator/Generator.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public static void main(String[] args) throws Exception {
for (var prob : uml_module.getParseProblems()) {
System.err.println(prob.toString());
}
uml.close();
return;
}
uml_module.getContext().getModelRepository().addModel(uml);
Expand All @@ -48,6 +49,7 @@ public static void main(String[] args) throws Exception {
System.out.println("Generating to " + out_path);

uml_module.execute();
uml.close();
}

if (filename.endsWith(".scxml")) {
Expand All @@ -64,6 +66,7 @@ public static void main(String[] args) throws Exception {
for (var prob : scxml_module.getParseProblems()) {
System.err.println(prob.toString());
}
scxml.close();
return;
}

Expand All @@ -73,6 +76,7 @@ public static void main(String[] args) throws Exception {
System.out.println("Generating to " + out_path);

scxml_module.execute();
scxml.close();
}
System.out.println("Successful");
} catch (Exception ex) {
Expand Down

0 comments on commit 9d64009

Please sign in to comment.