summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEgidijus Vaishnora2011-09-19 06:50:52 (EDT)
committerEgidijus Vaishnora2011-09-19 06:50:52 (EDT)
commit7867093f33b6c90a6393b0bc09b2fc3f4905df4d (patch)
tree803bf4735793c82870dfc00a0cee7d1a039c6490
parent6aaf02ce1ef0dc713a8bd7b99b71fc90a4192485 (diff)
downloadcdo-7867093f33b6c90a6393b0bc09b2fc3f4905df4d.zip
cdo-7867093f33b6c90a6393b0bc09b2fc3f4905df4d.tar.gz
cdo-7867093f33b6c90a6393b0bc09b2fc3f4905df4d.tar.bz2
358080: ExpectedFileInputStream waits for all timeout
https://bugs.eclipse.org/bugs/show_bug.cgi?id=358080
-rw-r--r--plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/ExpectedFileInputStream.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/ExpectedFileInputStream.java b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/ExpectedFileInputStream.java
index ef6a078..634e0da 100644
--- a/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/ExpectedFileInputStream.java
+++ b/plugins/org.eclipse.net4j.util/src/org/eclipse/net4j/util/io/ExpectedFileInputStream.java
@@ -104,7 +104,7 @@ public class ExpectedFileInputStream extends FileInputStream
try
{
- wait(Math.max(100L, restTime));
+ wait(Math.min(100L, restTime));
}
catch (InterruptedException ex)
{