From 8d29e6b4de9ffe1dadd4cd916b75f9a34906567b Mon Sep 17 00:00:00 2001 From: erlingrj Date: Wed, 25 Sep 2024 08:02:38 -0700 Subject: [PATCH] Spotless --- .../java/org/lflang/generator/c/CGenerator.java | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/core/src/main/java/org/lflang/generator/c/CGenerator.java b/core/src/main/java/org/lflang/generator/c/CGenerator.java index 30ffe08bec..1e8406fa04 100644 --- a/core/src/main/java/org/lflang/generator/c/CGenerator.java +++ b/core/src/main/java/org/lflang/generator/c/CGenerator.java @@ -1468,10 +1468,7 @@ private void generateStartTimeStep(ReactorInstance instance) { String.join( "\n", "// Add action " + action.getFullName() + " to array of is_present fields.", - enclaveStruct - + ".is_present_fields[" - + enclaveInfo.numIsPresentFields - + " + count] ", + enclaveStruct + ".is_present_fields[" + enclaveInfo.numIsPresentFields + " + count] ", " = (bool *) &" + containerSelfStructName + "->_lf__" @@ -1495,10 +1492,10 @@ private void generateStartTimeStep(ReactorInstance instance) { + action.getName() + ".intended_tag;"))); - temp.pr("count++;"); - temp.endScopedBlock(); - temp.endScopedBlock(); - enclaveInfo.numIsPresentFields += action.getParent().getTotalWidth(); + temp.pr("count++;"); + temp.endScopedBlock(); + temp.endScopedBlock(); + enclaveInfo.numIsPresentFields += action.getParent().getTotalWidth(); } if (foundOne) startTimeStep.pr(temp.toString()); temp = new CodeBuilder();