kokalsuhas / mockito

Automatically exported from code.google.com/p/mockito
0 stars 0 forks source link

timeout() should use long instead of int #491

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
timeout() should use long instead of int so that:
 - it's more conventional
 - casting is not necessary when one does something like: TimeUnit.SECONDS.toMillis(1)

Original issue reported on code.google.com by szcze...@gmail.com on 20 Apr 2014 at 9:15

GoogleCodeExporter commented 8 years ago
Fixed by PR https://github.com/mockito/mockito/pull/52
Commit : 
https://github.com/mockito/mockito/commit/733e54e29dc5bf763961e22a70f70d4d036f2e
c7

Original comment by brice.du...@gmail.com on 21 Apr 2014 at 5:29