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
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
while (!isInterrupted()) {
|
while (!isInterrupted()) {
|
||||||
if (isInterrupted()) {
|
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
// business logic
|
// business logic
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue