REmoved unnecessary boolean variable
Signed-off-by: Emmanuel Bigeon <emmanuel@bigeon.fr>
This commit is contained in:
1 parent
bd44b5bf85
commit
2a05366e31
1 file changed
+1
-3
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user