X-Git-Url: https://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fio%2FTimeoutInputStream.java;h=d540c60fb2137d392b001f18579082129db80cb6;hb=e685a47d98ab73fde720b670dd8e0b4f677b827f;hp=f1b140bcf31dd23f9160551940b24e2587d755dd;hpb=1c15371a2d2f702238f51a712643962491fc0793;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 }