mirror of https://github.com/sbt/sbt.git
duration() is specified to return -1 when none exists
This commit is contained in:
parent
ab0d61c3fe
commit
019920c138
|
|
@ -151,7 +151,7 @@ class EventWrapper implements Event {
|
|||
}
|
||||
|
||||
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 @@ class RunnerWrapper implements Runner {
|
|||
public String[] remoteArgs() {
|
||||
return new String[0]; // Old framework does not support remoteArgs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue