Skip to content

Commit

Permalink
Make PMachines in java generated code serializable
Browse files Browse the repository at this point in the history
  • Loading branch information
mchadalavada committed May 20, 2024
1 parent 84d01d3 commit 9bc0184
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private void WriteMonitorDecl()
{
var cname = Names.GetNameForDecl(_currentMachine);

WriteLine($"public static class {cname} extends prt.Monitor<{cname}.{Constants.StateEnumName}> {{");
WriteLine($"public static class {cname} extends prt.Monitor<{cname}.{Constants.StateEnumName}> implements Serializable {{");

WriteLine();
WriteSupplierCDef(cname);
Expand Down

0 comments on commit 9bc0184

Please sign in to comment.