summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-08-30 02:45:55 (EDT)
committerEike Stepper2007-08-30 02:45:55 (EDT)
commit13fabed31cc065b77c8f27d3b2cc9648ccd7d35d (patch)
tree6e4dc4808a6e913f165bafe2d7603897b177b90e
parent6d1a84c908d8be716c62205b08ec9b3865cbbd9c (diff)
downloadcdo-13fabed31cc065b77c8f27d3b2cc9648ccd7d35d.zip
cdo-13fabed31cc065b77c8f27d3b2cc9648ccd7d35d.tar.gz
cdo-13fabed31cc065b77c8f27d3b2cc9648ccd7d35d.tar.bz2
*** empty log message ***
-rw-r--r--plugins/org.eclipse.net4j/src/org/eclipse/net4j/stream/BufferInputStream.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/org.eclipse.net4j/src/org/eclipse/net4j/stream/BufferInputStream.java b/plugins/org.eclipse.net4j/src/org/eclipse/net4j/stream/BufferInputStream.java
index 85325d1..d4ec1a5 100644
--- a/plugins/org.eclipse.net4j/src/org/eclipse/net4j/stream/BufferInputStream.java
+++ b/plugins/org.eclipse.net4j/src/org/eclipse/net4j/stream/BufferInputStream.java
@@ -122,6 +122,8 @@ public class BufferInputStream extends InputStream implements IBufferHandler
}
else
{
+ // TODO Consider something faster than currentTimeMillis(), maybe less
+ // accurate?
final long stop = System.currentTimeMillis() + timeout;
while (currentBuffer == null)
{