Skip to content

Commit

Permalink
fix code review comments
Browse files Browse the repository at this point in the history
Signed-off-by: jamal-khey <[email protected]>
  • Loading branch information
jamal-khey committed Oct 18, 2023
1 parent 8ed7494 commit 9d18559
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ protected ModificationEntity(ModificationInfos modificationInfos) {
}
//We need to limit the precision to avoid database precision storage limit issue (postgres has a precision of 6 digits while h2 can go to 9)
this.date = ZonedDateTime.now(ZoneOffset.UTC).truncatedTo(ChronoUnit.MICROS);
this.setStashed(modificationInfos.getStashed());
}

public ModificationInfos toModificationInfos() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public void update(ModificationInfos modificationInfos) {
}

private void assignAttributes(LineCreationInfos lineCreationInfos) {
setStashed(lineCreationInfos.getStashed());
shuntConductance1 = lineCreationInfos.getShuntConductance1();
shuntSusceptance1 = lineCreationInfos.getShuntSusceptance1();
shuntConductance2 = lineCreationInfos.getShuntConductance2();
Expand Down

0 comments on commit 9d18559

Please sign in to comment.