From 1d9d3e3420a914c64fe3ce2707c1821482034ea5 Mon Sep 17 00:00:00 2001 From: cramakri <cramakri> Date: Tue, 19 Mar 2013 13:33:30 +0000 Subject: [PATCH] BIS-358 SP-567 : Merge two branches to remove code duplication SVN: 28645 --- .../java/ch/systemsx/cisd/common/io/QueuePersister.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ffb39148788..4676779fa1f 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"); } -- GitLab