Skip to content

Commit

Permalink
logs order fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Seddik Yengui committed Nov 9, 2023
1 parent d737c5c commit 0ff9855
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,6 @@ private void applyFormulaOnFilterEquipments(Network network,
FormulaInfos formulaInfos,
FilterInfos filterInfos) {
var filterEquipments = exportFilters.get(filterInfos.getId());
filterEquipments.getIdentifiableAttributes().forEach(attributes -> applyFormula(network,
attributes.getId(),
formulaInfos,
formulaReports));

formulaReports.add(Report.builder()
.withKey("byFormulaModificationFormulaFilter_" + formulaReports.size())
Expand Down Expand Up @@ -122,6 +118,11 @@ private void applyFormulaOnFilterEquipments(Network network,
.withDefaultMessage(String.format(" Edited field : %s", formulaInfos.getEditedField()))
.withSeverity(TypedValue.INFO_SEVERITY)
.build());

filterEquipments.getIdentifiableAttributes().forEach(attributes -> applyFormula(network,
attributes.getId(),
formulaInfos,
formulaReports));
}

@Nullable
Expand Down

0 comments on commit 0ff9855

Please sign in to comment.