(int seconds)
| 124 | } |
| 125 | |
| 126 | public static void sleep(int seconds) { |
| 127 | try { |
| 128 | TimeUnit.SECONDS.sleep(seconds); |
| 129 | } catch (InterruptedException e) { |
| 130 | Thread.currentThread().interrupt(); |
| 131 | log.error("Sleep was interrupted", e); |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | public static void sleepByMilliSeconds(int milliSeconds) { |
| 136 | try { |
no outgoing calls
no test coverage detected