mirror of
https://github.com/sbt/sbt.git
synced 2026-09-04 00:41:32 +02:00
duration() is specified to return -1 when none exists
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user