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() */ * @see java.lang.Runnable#run() */
@Override @Override
public void run() { public void run() {
boolean cont = true; while (true) {
while (cont) {
synchronized (lock) { synchronized (lock) {
cont = running;
if (!running) { if (!running) {
break; break;
} }