Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

duration() is specified to return -1 when none exists

  • Loading branch information...
commit 019920c138f486a390fc21f436915278568a77b5 1 parent ab0d61c
@harrah harrah authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 testing/agent/src/main/java/sbt/FrameworkWrapper.java
View
4 testing/agent/src/main/java/sbt/FrameworkWrapper.java
@@ -151,7 +151,7 @@ public OptionalThrowable throwable() {
}
public long duration() {
- return 0; // Just return 0 as old event does not have duration.
+ return -1; // Just return -1 as old event does not have duration.
}
}
@@ -259,4 +259,4 @@ public String done() {
public String[] remoteArgs() {
return new String[0]; // Old framework does not support remoteArgs
}
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.