REmoved unnecessary boolean variable

Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
This commit is contained in:
Emmanuel Bigeon 2018-10-14 11:04:13 -04:00
parent bd44b5bf85
commit 2a05366e31

View File

@ -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;
}