mirror of https://github.com/apache/activemq.git
Fix supplied by Pete Schwamb for corrupted DiskIndexLinkedList
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@636078 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7d70fec53a
commit
2185cdb6e0
|
@ -271,7 +271,7 @@ public class DiskIndexLinkedList implements IndexLinkedList {
|
||||||
}
|
}
|
||||||
// essential last get's updated consistently
|
// essential last get's updated consistently
|
||||||
if (result != null && last != null && last.equals(result)) {
|
if (result != null && last != null && last.equals(result)) {
|
||||||
result = last;
|
last=result;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue