Merge pull request #15153 from eugenp/ulisseslima-patch-1
BAEL-6481 - Remove `isInterrupted()` check
This commit is contained in:
commit
2fc5ad953c
|
@ -4,9 +4,7 @@ public class InterruptThread extends Thread {
|
|||
@Override
|
||||
public void run() {
|
||||
while (!isInterrupted()) {
|
||||
if (isInterrupted()) {
|
||||
break;
|
||||
}
|
||||
break;
|
||||
// business logic
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue