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
commit 2fc5ad953c
1 changed files with 1 additions and 3 deletions

View File

@ -4,9 +4,7 @@ public class InterruptThread extends Thread {
@Override
public void run() {
while (!isInterrupted()) {
if (isInterrupted()) {
break;
}
break;
// business logic
}
}