This is an automated email from the ASF dual-hosted git repository. bchapuis pushed a commit to branch 745-daylight in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git
commit cc96abcf537c6a273a9a41f04045dab573722e83 Author: Bertil Chapuis <[email protected]> AuthorDate: Mon Aug 28 15:59:45 2023 +0200 Display durations of 0 ms --- .../src/main/java/org/apache/baremaps/workflow/WorkflowExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/baremaps-core/src/main/java/org/apache/baremaps/workflow/WorkflowExecutor.java b/baremaps-core/src/main/java/org/apache/baremaps/workflow/WorkflowExecutor.java index 6367a254..1e33b14c 100644 --- a/baremaps-core/src/main/java/org/apache/baremaps/workflow/WorkflowExecutor.java +++ b/baremaps-core/src/main/java/org/apache/baremaps/workflow/WorkflowExecutor.java @@ -273,7 +273,7 @@ public class WorkflowExecutor implements AutoCloseable { builder.append(sec).append(" s "); } final long ms = duration.toMillis() - Duration.ofSeconds(duration.toSeconds()).toMillis(); - if (ms > 0) { + if (ms >= 0) { builder.append(ms).append(" ms "); } return builder.toString();
