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:
Robert Davies 2008-03-11 19:46:58 +00:00
parent 7d70fec53a
commit 2185cdb6e0
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }