mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-17 08:25:14 -06:00
Autoformat using tab characters
This commit is contained in:
parent
0b44eca4ba
commit
a3b7beeed7
278 changed files with 22710 additions and 22769 deletions
|
|
@ -5,24 +5,24 @@ import org.openrs2.deob.annotation.OriginalMember;
|
|||
import org.openrs2.deob.annotation.Pc;
|
||||
|
||||
public class ThreadUtils {
|
||||
@OriginalMember(owner = "client!sk", name = "a", descriptor = "(JI)V")
|
||||
public static void sleep(@OriginalArg(0) long arg0) {
|
||||
if (arg0 <= 0L) {
|
||||
return;
|
||||
}
|
||||
if (arg0 % 10L == 0L) {
|
||||
sleepUninterruptibly(arg0 - 1L);
|
||||
sleepUninterruptibly(1L);
|
||||
} else {
|
||||
sleepUninterruptibly(arg0);
|
||||
}
|
||||
}
|
||||
@OriginalMember(owner = "client!sk", name = "a", descriptor = "(JI)V")
|
||||
public static void sleep(@OriginalArg(0) long arg0) {
|
||||
if (arg0 <= 0L) {
|
||||
return;
|
||||
}
|
||||
if (arg0 % 10L == 0L) {
|
||||
sleepUninterruptibly(arg0 - 1L);
|
||||
sleepUninterruptibly(1L);
|
||||
} else {
|
||||
sleepUninterruptibly(arg0);
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!rm", name = "a", descriptor = "(JB)V")
|
||||
public static void sleepUninterruptibly(@OriginalArg(0) long arg0) {
|
||||
try {
|
||||
Thread.sleep(arg0);
|
||||
} catch (@Pc(11) InterruptedException local11) {
|
||||
}
|
||||
}
|
||||
@OriginalMember(owner = "client!rm", name = "a", descriptor = "(JB)V")
|
||||
public static void sleepUninterruptibly(@OriginalArg(0) long arg0) {
|
||||
try {
|
||||
Thread.sleep(arg0);
|
||||
} catch (@Pc(11) InterruptedException local11) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue