Skip to content

Commit

Permalink
Merge pull request square#1292 from square/jw/more-long
Browse files Browse the repository at this point in the history
Time amounts should be longs.
  • Loading branch information
swankjesse committed Jan 5, 2015
2 parents 58dff54 + da95a56 commit a5e13bd
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 a5e13bd

Please sign in to comment.