We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0cfbc5 commit c977f88Copy full SHA for c977f88
src/main/java/org/stt/reporting/SummingReportGenerator.java
@@ -61,6 +61,9 @@ public Report createReport() {
61
endOfReport = end;
62
63
Duration duration = Duration.between(start, end);
64
+ if (duration.isNegative()) {
65
+ duration = Duration.ZERO;
66
+ }
67
String comment = item.getActivity();
68
if (collectingMap.containsKey(comment)) {
69
Duration oldDuration = collectingMap.get(comment);
0 commit comments