fix an inconsistency

This commit is contained in:
ticktock 2010-10-13 19:02:25 -04:00
parent 20007f7355
commit 950ed9afbe

View file

@ -477,7 +477,7 @@ MapStorageBackend[Array[Byte], Array[Byte]] with
val objs = riakClient.fetch(bucket, key, quorum)
objs.size match {
case 0 => null;
case _ => objs.last.getValue.isEmpty match {
case _ => objs(0).getValue.isEmpty match {
case true => null
case false => objs(0).getValue
}