diff options
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/util/io/StreamCopyThread.java | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/io/StreamCopyThread.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/io/StreamCopyThread.java index bf47d199af..c36835692d 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/io/StreamCopyThread.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/io/StreamCopyThread.java @@ -100,10 +100,7 @@ public class StreamCopyThread extends Thread { try { n = src.read(buf); } catch (InterruptedIOException wakey) { - if (flushCounter.get() > 0) - continue; - else - throw wakey; + continue; } if (n < 0) break; @@ -112,10 +109,7 @@ public class StreamCopyThread extends Thread { try { dst.write(buf, 0, n); } catch (InterruptedIOException wakey) { - if (flushCounter.get() > 0) - continue; - else - throw wakey; + continue; } break; } |