Skip to content
Snippets Groups Projects
Commit 1d9d3e34 authored by cramakri's avatar cramakri
Browse files

BIS-358 SP-567 : Merge two branches to remove code duplication

SVN: 28645
parent b4db69c1
No related branches found
No related tags found
No related merge requests found
...@@ -440,8 +440,8 @@ public class QueuePersister<E> implements IQueuePersister<E> ...@@ -440,8 +440,8 @@ public class QueuePersister<E> implements IQueuePersister<E>
{ {
try try
{ {
if (randomAccessFile.getFD().valid() == false if ((false == randomAccessFile.getFD().valid())
|| false == randomAccessFile.getChannel().isOpen()) || (false == randomAccessFile.getChannel().isOpen()))
{ {
this.randomAccessFile = new RandomAccessFile(queueFile, "rw"); this.randomAccessFile = new RandomAccessFile(queueFile, "rw");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment