Permalink
Browse files

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

  • Loading branch information...
harrah committed Jun 28, 2013
1 parent ab0d61c commit 019920c138f486a390fc21f436915278568a77b5
Showing with 2 additions and 2 deletions.
  1. +2 −2 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
}
-}
+}

0 comments on commit 019920c

Please sign in to comment.