REmoved unnecessary boolean variable
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
This commit is contained in:
parent
bd44b5bf85
commit
2a05366e31
@ -320,10 +320,8 @@ public final class ReadingRunnable implements Runnable {
|
||||
* @see java.lang.Runnable#run() */
|
||||
@Override
|
||||
public void run() {
|
||||
boolean cont = true;
|
||||
while (cont) {
|
||||
while (true) {
|
||||
synchronized (lock) {
|
||||
cont = running;
|
||||
if (!running) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user