forked from External/mage
* Some minor changes to sleep command.
This commit is contained in:
parent
5a072ea760
commit
2446abcc98
6 changed files with 102 additions and 100 deletions
|
|
@ -1,13 +1,13 @@
|
|||
package mage.client.game;
|
||||
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import javax.swing.*;
|
||||
import mage.client.MageFrame;
|
||||
import mage.client.components.MageComponents;
|
||||
import mage.client.components.MageUI;
|
||||
import org.apache.log4j.Logger;
|
||||
import org.junit.Ignore;
|
||||
|
||||
import javax.swing.*;
|
||||
|
||||
/**
|
||||
* @author ayratn
|
||||
*/
|
||||
|
|
@ -68,7 +68,7 @@ public class StartMultiGamesTest {
|
|||
|
||||
private void sleep(int ms) {
|
||||
try {
|
||||
Thread.sleep(ms);
|
||||
TimeUnit.MILLISECONDS.sleep(ms);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue