diff --git a/common/source/java/ch/systemsx/cisd/common/io/QueuePersister.java b/common/source/java/ch/systemsx/cisd/common/io/QueuePersister.java index ffb39148788c643058a025c2c6361d76faf74342..4676779fa1fc38af6692d9af88eaf4817aac384b 100644 --- a/common/source/java/ch/systemsx/cisd/common/io/QueuePersister.java +++ b/common/source/java/ch/systemsx/cisd/common/io/QueuePersister.java @@ -440,8 +440,8 @@ public class QueuePersister<E> implements IQueuePersister<E> { try { - if (randomAccessFile.getFD().valid() == false - || false == randomAccessFile.getChannel().isOpen()) + if ((false == randomAccessFile.getFD().valid()) + || (false == randomAccessFile.getChannel().isOpen())) { this.randomAccessFile = new RandomAccessFile(queueFile, "rw"); }