Skip to content

Commit

Permalink
[#2353][Improvement] Remove Thread.currentThread().interrupt();
Browse files Browse the repository at this point in the history
  • Loading branch information
cchung100m committed Feb 13, 2025
1 parent e65b913 commit 3e62182
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ public boolean next() throws IOException {
curr = results.take();
return curr != null;
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw new IOException(e);
}
}
Expand Down Expand Up @@ -290,7 +289,6 @@ public boolean next() throws IOException {
curr = results.take();
return curr != null;
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw new IOException(e);
}
}
Expand Down Expand Up @@ -336,7 +334,6 @@ public boolean next() throws IOException {
return true;
}
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw new IOException(e);
}
}
Expand Down Expand Up @@ -388,7 +385,6 @@ public C next() {
curr = results.take();
return ret;
} catch (InterruptedException | IOException e) {
Thread.currentThread().interrupt();
throw new RssException(e);
}
}
Expand Down Expand Up @@ -612,7 +608,6 @@ public void run() {
}
}
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw new RssException(e);
}
}
Expand Down Expand Up @@ -661,7 +656,6 @@ public void run() {
}
return new BufferedSegment(recordBuffer);
} catch (InterruptedException ex) {
Thread.currentThread().interrupt();
throw new RssException(ex);
}
});
Expand All @@ -677,7 +671,6 @@ public void run() {
} catch (InterruptedException | IOException e) {
error = e;
stop = true;
Thread.currentThread().interrupt();
}
}
}
Expand Down

0 comments on commit 3e62182

Please sign in to comment.