martin-g commented on a change in pull request #356: Wicket 6662
URL: https://github.com/apache/wicket/pull/356#discussion_r281521341
##########
File path:
wicket-core/src/test/java/org/apache/wicket/page/PageAccessSynchronizerTest.java
##########
@@ -98,13 +106,13 @@ public void run()
T2 t2 = new T2();
t2.setName("t2");
t1.start();
- Duration.milliseconds(100).sleep();
+ Thread.sleep(100);
Review comment:
nit: a more direct translation would be: `TimeUnit.MILLISECONDS.sleep(100)`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services