Skip to content

Commit

Permalink
Reorder deletions
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Marcellin committed Nov 29, 2023
1 parent e8cd34f commit 987ad27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ public void delete(UUID resultUuid) {
Objects.requireNonNull(resultUuid);
AtomicReference<Long> startTime = new AtomicReference<>();
startTime.set(System.nanoTime());
sensitivityRepository.deleteSensitivityBySensitivityAnalysisResultUUid(resultUuid);
globalStatusRepository.deleteByResultUuid(resultUuid);
sensitivityRepository.deleteSensitivityBySensitivityAnalysisResultUUid(resultUuid);
analysisResultRepository.deleteByResultUuid(resultUuid);
LOGGER.info("Sensitivity analysis result '{}' has been deleted in {}ms", resultUuid, TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startTime.get()));
}
Expand Down

0 comments on commit 987ad27

Please sign in to comment.