Skip to content

Commit

Permalink
[FIX kbss-cvut/fta-fmea-ui#219] Merge FaultTreeRepositoryService.find…
Browse files Browse the repository at this point in the history
…Required
  • Loading branch information
kostobog committed Apr 15, 2024
1 parent ed017c7 commit b070a79
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,9 @@ public FaultTree findRequired(URI id) {
for(Item i : items){
items.forEach(c -> c.setComponents(null));
}
return ft;
}

@Transactional
@Override
public FaultTree findRequired(URI id) {
FaultTree faultTree = super.findRequired(id);
setReferences(faultTree);
return faultTree;
setReferences(ft);
return ft;
}

public void setReferences(FaultTree faultTree){
Expand Down

0 comments on commit b070a79

Please sign in to comment.