mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
Merge remote-tracking branch 'mkeesey/master'
This commit is contained in:
commit
a37fbdaa29
@ -151,8 +151,8 @@ public class Thread implements Runnable {
|
|||||||
|
|
||||||
private static native boolean interrupted(long peer);
|
private static native boolean interrupted(long peer);
|
||||||
|
|
||||||
public static boolean isInterrupted() {
|
public boolean isInterrupted() {
|
||||||
return currentThread().interrupted;
|
return interrupted;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void sleep(long milliseconds) throws InterruptedException {
|
public static void sleep(long milliseconds) throws InterruptedException {
|
||||||
|
Loading…
Reference in New Issue
Block a user