git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix OOB, expose triple buffer
[nikiroo-utils.git]
/
src
/
jexer
/
io
/
TimeoutInputStream.java
diff --git
a/src/jexer/io/TimeoutInputStream.java
b/src/jexer/io/TimeoutInputStream.java
index f1b140bcf31dd23f9160551940b24e2587d755dd..d540c60fb2137d392b001f18579082129db80cb6 100644
(file)
--- 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.
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
}
} 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.
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
}
} 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.
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
}
} catch (InterruptedException e) {
// SQUASH
}