X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fio%2FTimeoutInputStream.java;h=d540c60fb2137d392b001f18579082129db80cb6;hb=c447c6e5759db7ac9bbb05cc1b3618dd38230335;hp=f1b140bcf31dd23f9160551940b24e2587d755dd;hpb=5dfd1c11947e9cb32fcac4772f1b16879d9ffe67;p=fanfix.git diff --git a/src/jexer/io/TimeoutInputStream.java b/src/jexer/io/TimeoutInputStream.java index f1b140b..d540c60 100644 --- a/src/jexer/io/TimeoutInputStream.java +++ b/src/jexer/io/TimeoutInputStream.java @@ -130,7 +130,7 @@ public class TimeoutInputStream extends InputStream { try { // How long do we sleep for, eh? For now we will go with 2 // millis. - Thread.currentThread().sleep(2); + Thread.sleep(2); } catch (InterruptedException e) { // SQUASH } @@ -189,7 +189,7 @@ public class TimeoutInputStream extends InputStream { try { // How long do we sleep for, eh? For now we will go with // 2 millis. - Thread.currentThread().sleep(2); + Thread.sleep(2); } catch (InterruptedException e) { // SQUASH } @@ -264,7 +264,7 @@ public class TimeoutInputStream extends InputStream { try { // How long do we sleep for, eh? For now we will go with // 2 millis. - Thread.currentThread().sleep(2); + Thread.sleep(2); } catch (InterruptedException e) { // SQUASH }