Ooops, a silly mistake...
*/
@Deprecated
default void sleep(Duration duration) throws InterruptedException {
- sleep(java.time.Duration.of(duration.in(TimeUnit.MILLISECONDS), ChronoUnit.MICROS));
+ sleep(java.time.Duration.of(duration.in(TimeUnit.MILLISECONDS), ChronoUnit.MILLIS));
}
/**
