Merge pull request #15153 from eugenp/ulisseslima-patch-1

BAEL-6481 - Remove `isInterrupted()` check
This commit is contained in:
Loredana Crusoveanu
2023-11-07 09:48:06 +02:00
committed by GitHub
@@ -4,9 +4,7 @@ public class InterruptThread extends Thread {
@Override
public void run() {
while (!isInterrupted()) {
if (isInterrupted()) {
break;
}
break;
// business logic
}
}