Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Chain constructors.

  • Loading branch information...
commit a246413bbc5732ae66bdb0f35d43ca329efd9c24 1 parent fc0336d
@davidhart82 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/main/java/org/junit/rules/Timeout.java
View
2  src/main/java/org/junit/rules/Timeout.java
@@ -58,7 +58,7 @@ public Timeout(long millis) {
* @param unit the time unit of the {@code timeout} argument
*/
public Timeout(long timeout, TimeUnit unit) {
- fMillis= unit.toMillis(timeout);
+ this(unit.toMillis(timeout));
}
public Statement apply(Statement base, Description description) {
Please sign in to comment.
Something went wrong with that request. Please try again.