Skip to content

Commit

Permalink
Time amounts should be longs.
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed Jan 5, 2015
1 parent ddbf236 commit da95a56
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ public RecordedRequest takeRequest() throws InterruptedException {
* {@code timeout} parameter
* @return the head of the request queue
*/
public RecordedRequest takeRequest(int timeout, TimeUnit unit) throws InterruptedException {
public RecordedRequest takeRequest(long timeout, TimeUnit unit) throws InterruptedException {
return requestQueue.poll(timeout, unit);
}

Expand Down

0 comments on commit da95a56

Please sign in to comment.